summaryrefslogtreecommitdiff
path: root/scripts/vyatta-output-config.pl
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 17:01:43 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 17:01:43 -0700
commit902f98e233479bb9e8fffa9d158d14739714d48a (patch)
treed5684cf1dc78d05218b1c8e2a5f522919b9bf2a1 /scripts/vyatta-output-config.pl
parent0d97c5e0f56a22577abb0a38fec10a06e9b618e8 (diff)
downloadvyatta-cfg-902f98e233479bb9e8fffa9d158d14739714d48a.tar.gz
vyatta-cfg-902f98e233479bb9e8fffa9d158d14739714d48a.zip
* config-mode "show" command now hides default values.
* add "show -all" command to display all values. * "save" command saves all values.
Diffstat (limited to 'scripts/vyatta-output-config.pl')
-rwxr-xr-xscripts/vyatta-output-config.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/vyatta-output-config.pl b/scripts/vyatta-output-config.pl
index 7f3ea83..8b25ec2 100755
--- a/scripts/vyatta-output-config.pl
+++ b/scripts/vyatta-output-config.pl
@@ -4,6 +4,10 @@ use strict;
use lib "/opt/vyatta/share/perl5/";
use VyattaConfigOutput;
+if ($ARGV[0] eq '-all') {
+ shift;
+ VyattaConfigOutput::set_show_all(1);
+}
VyattaConfigOutput::outputNewConfig(@ARGV);
exit 0;