summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-07 17:02:51 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-03-07 17:02:51 -0800
commitbbba2fa4a235d18a58cce2c618277b6194a03580 (patch)
treed33ec0a26ba8bffeff8ab2d226294c6261a988da /scripts
parent1d4e61ced443349b67243574c74228ca0bb30250 (diff)
downloadvyatta-cfg-qos-bbba2fa4a235d18a58cce2c618277b6194a03580.tar.gz
vyatta-cfg-qos-bbba2fa4a235d18a58cce2c618277b6194a03580.zip
Change options
Script calls --apply, and typo for --start-interface.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/vyatta-qos.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/vyatta-qos.pl b/scripts/vyatta-qos.pl
index 41f9174..704b219 100755
--- a/scripts/vyatta-qos.pl
+++ b/scripts/vyatta-qos.pl
@@ -344,7 +344,7 @@ sub usage {
print <<EOF;
usage: vyatta-qos.pl --check
vyatta-qos.pl --list-policy
- vyatta-qos.pl --apply-changes
+ vyatta-qos.pl --apply
vyatta-qos.pl --create-policy policy-type policy-name
vyatta-qos.pl --delete-policy policy-name
@@ -362,8 +362,8 @@ my @createPolicy = ();
GetOptions(
"check" => sub { check_conflict(); },
- "apply-changes" => sub { apply_changes(); },
- "start-interace=s" => sub { start_interface( $_[1] ); },
+ "apply" => sub { apply_changes(); },
+ "start-interface=s" => sub { start_interface( $_[1] ); },
"update-interface=s{3}" => \@updateInterface,
"delete-interface=s{2}" => \@deleteInterface,