diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2009-06-02 15:39:04 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2009-06-02 15:41:01 -0700 |
commit | 034fae1bca5fa79f5c3f7b7db40c85ab674c2d7f (patch) | |
tree | bcd0f83906844f91411ae922d303429e3361c38b | |
parent | af87d266ab9c0527db9c2f868eada0b0f9254c6b (diff) | |
download | vyatta-cfg-firewall-034fae1bca5fa79f5c3f7b7db40c85ab674c2d7f.tar.gz vyatta-cfg-firewall-034fae1bca5fa79f5c3f7b7db40c85ab674c2d7f.zip |
Make firewall group comp_help more consistent with the rest of the cli.
7 files changed, 11 insertions, 7 deletions
diff --git a/templates/firewall/group/address-group/node.def b/templates/firewall/group/address-group/node.def index bc4fb68..f594074 100644 --- a/templates/firewall/group/address-group/node.def +++ b/templates/firewall/group/address-group/node.def @@ -21,4 +21,5 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl \ --action=delete-set \ --set-name="$VAR(@)" -comp_help: Enter the name of the firewall address-group +comp_help: possible completions: + <txt> Set the name of the firewall address-group diff --git a/templates/firewall/group/address-group/node.tag/address/node.def b/templates/firewall/group/address-group/node.tag/address/node.def index 4fc5336..26519c0 100644 --- a/templates/firewall/group/address-group/node.tag/address/node.def +++ b/templates/firewall/group/address-group/node.tag/address/node.def @@ -16,6 +16,6 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=delete-member \ --set-name=$VAR(../@) \ --member="$VAR(@)" -comp_help: Possible completions: +comp_help: possible completions: <x.x.x.x> IPv4 address to match <x.x.x.x>-<x.x.x.x> IPv4 range to match (e.g. 10.0.0.1-10.0.0.200) diff --git a/templates/firewall/group/network-group/node.def b/templates/firewall/group/network-group/node.def index 2d8bf60..3419b6a 100644 --- a/templates/firewall/group/network-group/node.def +++ b/templates/firewall/group/network-group/node.def @@ -21,4 +21,5 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl \ --action=delete-set \ --set-name="$VAR(@)" -comp_help: Enter the name of the firewall network-group +comp_help: possible completions: + <txt> Set the name of the firewall network-group diff --git a/templates/firewall/group/network-group/node.tag/network/node.def b/templates/firewall/group/network-group/node.tag/network/node.def index ad43311..62ad56e 100644 --- a/templates/firewall/group/network-group/node.tag/network/node.def +++ b/templates/firewall/group/network-group/node.tag/network/node.def @@ -19,5 +19,5 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=delete-member \ --set-name=$VAR(../@) \ --member="$VAR(@)" -comp_help: Possible completions: +comp_help: possible completions: <x.x.x.x/x> IPv4 Subnet to match diff --git a/templates/firewall/group/node.def b/templates/firewall/group/node.def index d45d3d9..3bd65ae 100644 --- a/templates/firewall/group/node.def +++ b/templates/firewall/group/node.def @@ -1,3 +1,4 @@ help: Set a firewall group -comp_help: Enter the name of the firewall group +comp_help: possible completions: + <txt> Set the name of the firewall group diff --git a/templates/firewall/group/port-group/node.def b/templates/firewall/group/port-group/node.def index 0ec803f..6a9e192 100644 --- a/templates/firewall/group/port-group/node.def +++ b/templates/firewall/group/port-group/node.def @@ -21,4 +21,5 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl \ --action=delete-set \ --set-name="$VAR(@)" -comp_help: Enter the name of the firewall port-group +comp_help: possible completions: + <txt> Set the name of the firewall port-group diff --git a/templates/firewall/group/port-group/node.tag/port/node.def b/templates/firewall/group/port-group/node.tag/port/node.def index 0f0981b..5ce33b1 100644 --- a/templates/firewall/group/port-group/node.tag/port/node.def +++ b/templates/firewall/group/port-group/node.tag/port/node.def @@ -16,7 +16,7 @@ delete: sudo /opt/vyatta/sbin/vyatta-ipset.pl --action=delete-member \ --set-name=$VAR(../@) \ --member="$VAR(@)" -comp_help: Possible completions: +comp_help: possible completions: <port name> Named port (any name in /etc/services, e.g., http) <1-65535> Numbered port <start>-<end> Numbered port range (e.g. 1001-1050) |