summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-07-22 18:08:55 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-07-22 18:08:55 -0700
commit6521907e2deb6b13a9048334d70657a2c4f12b73 (patch)
tree6ff62d52887a22b1851f0f2429dbe50015b70d09
parent0c0548e9e0289ea5290c96a1f154d8adb2beb57a (diff)
downloadvyatta-cfg-6521907e2deb6b13a9048334d70657a2c4f12b73.tar.gz
vyatta-cfg-6521907e2deb6b13a9048334d70657a2c4f12b73.zip
remove comment feature.
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg5
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 3395638..91cb738 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -1039,8 +1039,7 @@ vyatta_config_complete ()
fi
if (( ${#COMP_WORDS[@]} < 2 )); then
- declare -a hitems=( "comment" \
- "commit" \
+ declare -a hitems=( "commit" \
"copy" \
"delete" \
"discard" \
@@ -1055,7 +1054,6 @@ vyatta_config_complete ()
"set" \
"show" )
declare -a hstrs=( \
- "Add comment to this configuration element" \
"Commit the current set of changes" \
"Copy a configuration element" \
"Delete a configuration element" \
@@ -1406,7 +1404,6 @@ complete -F vyatta_loadsave_complete save
complete -F vyatta_loadsave_complete load
complete -F vyatta_loadsave_complete merge
complete -F vyatta_loadkey_complete loadkey
-complete -F vyatta_config_complete comment
complete -F vyatta_config_complete copy
complete -F vyatta_config_complete rename