From 2e676eab9d35e8faf0df8676fc832c3178ff3feb 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. --- etc/bash_completion.d/20vyatta-cfg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index cb5e0dc..44e8fb5 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -837,6 +837,9 @@ get_value_format_string () u32:*) echo -n "<${vtype##u32:}>" ;; + range) + echo -n "-" + ;; ipv4) echo -n '' ;; @@ -852,6 +855,9 @@ get_value_format_string () ipv4range) echo -n '-' ;; + ipv6range) + echo -n '-' + ;; bool) echo -n '' ;; -- cgit v1.2.3