From 902f98e233479bb9e8fffa9d158d14739714d48a Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 2 Nov 2007 17:01:43 -0700 Subject: * config-mode "show" command now hides default values. * add "show -all" command to display all values. * "save" command saves all values. --- scripts/vyatta-output-config.pl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scripts/vyatta-output-config.pl') 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; -- cgit v1.2.3