diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-02 09:48:49 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-07-02 09:48:49 -0700 |
commit | dc7de171a775376d13e592c751514eeeda3e1dbb (patch) | |
tree | eca44ea102ca3157f75deeed68cbe70ed362ee34 | |
parent | fa09dd591b829088666f230be91f274056647691 (diff) | |
download | vyatta-cfg-dc7de171a775376d13e592c751514eeeda3e1dbb.tar.gz vyatta-cfg-dc7de171a775376d13e592c751514eeeda3e1dbb.zip |
remove activate/deactivate from cli command completion and help.
-rwxr-xr-x | etc/bash_completion.d/20vyatta-cfg | 8 |
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 |