summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-12-04 16:43:39 +0100
committerChristian Poessinger <christian@poessinger.com>2021-12-04 16:43:56 +0100
commit80cf05ed8257afc102e568cdc126e19e13a8837e (patch)
tree03cc1c7e47aaffce68c2f16deeb21c2f8d7ee1a5
parent12e94964f1017915ca04743458a4931896124f48 (diff)
downloadvyatta-cfg-80cf05ed8257afc102e568cdc126e19e13a8837e.tar.gz
vyatta-cfg-80cf05ed8257afc102e568cdc126e19e13a8837e.zip
T4049: add completion help for "compare commands"
(cherry picked from commit dae314be6df89af4da648cc94855f145bbf43625)
-rw-r--r--etc/bash_completion.d/vyatta-cfg1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/bash_completion.d/vyatta-cfg b/etc/bash_completion.d/vyatta-cfg
index 8fc92e9..0226ed9 100644
--- a/etc/bash_completion.d/vyatta-cfg
+++ b/etc/bash_completion.d/vyatta-cfg
@@ -350,6 +350,7 @@ vyatta_compare_complete ()
[ $COMP_CWORD -eq 1 -a -z "$current_prefix" ]; then
echo
echo "Possible completions:"
+ echo -e " commands\tCompare working & active configurations and show \"set\" commands"
echo -e " <Enter>\tCompare working & active configurations"
echo -e " saved\t\tCompare working & saved configurations"
echo -e " <N>\t\tCompare working with revision N"