summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-07-02 09:48:49 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-07-02 09:48:49 -0700
commitdc7de171a775376d13e592c751514eeeda3e1dbb (patch)
treeeca44ea102ca3157f75deeed68cbe70ed362ee34 /etc
parentfa09dd591b829088666f230be91f274056647691 (diff)
downloadvyatta-cfg-dc7de171a775376d13e592c751514eeeda3e1dbb.tar.gz
vyatta-cfg-dc7de171a775376d13e592c751514eeeda3e1dbb.zip
remove activate/deactivate from cli command completion and help.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/bash_completion.d/20vyatta-cfg8
1 files changed, 1 insertions, 7 deletions
diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg
index 849a63b..af9a1b4 100755
--- a/etc/bash_completion.d/20vyatta-cfg
+++ b/etc/bash_completion.d/20vyatta-cfg
@@ -1024,11 +1024,9 @@ vyatta_config_complete ()
fi
if (( ${#COMP_WORDS[@]} < 2 )); then
- declare -a hitems=( "activate" \
- "comment" \
+ declare -a hitems=( "comment" \
"commit" \
"copy" \
- "deactivate" \
"delete" \
"discard" \
"edit" \
@@ -1042,11 +1040,9 @@ vyatta_config_complete ()
"set" \
"show" )
declare -a hstrs=( \
- "Enable this portion of the configuration" \
"Add comment to this configuration element" \
"Commit the current set of changes" \
"Copy a configuration element" \
- "Inactivate this portion of the configuration" \
"Delete a configuration element" \
"Discard uncommitted changes" \
"Edit a sub-element" \
@@ -1396,8 +1392,6 @@ 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 activate
-complete -F vyatta_config_complete deactivate
complete -F vyatta_config_complete copy
complete -F vyatta_config_complete rename