From 0247864ef578ac05bbac8dc5175e674ce7b82714 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 28 Jul 2010 10:12:11 -0700 Subject: Add range and ipv6range as val_help types This usage is common in firewall code. (cherry picked from commit 2e676eab9d35e8faf0df8676fc832c3178ff3feb) --- etc/bash_completion.d/20vyatta-cfg | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'etc') diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index 741c2c2..b36c3cf 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -845,6 +845,9 @@ get_value_format_string () u32:*) echo -n "<${vtype##u32:}>" ;; + range) + echo -n "-" + ;; ipv4) echo -n '' ;; @@ -860,6 +863,9 @@ get_value_format_string () ipv4range) echo -n '-' ;; + ipv6range) + echo -n '-' + ;; bool) echo -n '' ;; -- cgit v1.2.3