summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-config-mgmt.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/vyatta-config-mgmt.pl b/scripts/vyatta-config-mgmt.pl
index 31ccca9..95abdb1 100755
--- a/scripts/vyatta-config-mgmt.pl
+++ b/scripts/vyatta-config-mgmt.pl
@@ -211,6 +211,17 @@ if ($action eq 'show-commit-log') {
exit 0;
}
+if ($action eq 'show-commit-log-brief') {
+ print "show-commit-log-brief\n" if $debug;
+ my $max_revs = cm_get_max_revs();
+ my @log = cm_commit_get_log(1);
+ foreach my $line (@log) {
+ $line =~ s/\s/_/g;
+ print $line, ' ';
+ }
+ exit 0;
+}
+
if ($action eq 'show-commit-file') {
die "Error: no revnum" if ! defined $revnum;
print "show-commit-file [$revnum]\n" if $debug;