summaryrefslogtreecommitdiff
path: root/scripts/vyatta-output-config.pl
diff options
context:
space:
mode:
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;