Change switch --list to --list-running

* --list is still supported for backward compatability, but will
  neither have an entry in help output nor will have bash completion
  support
This commit is contained in:
Karthik K
2015-05-24 18:25:49 +05:30
parent 0f5a503c79
commit 38db906a24
2 changed files with 12 additions and 7 deletions

View File

@ -123,9 +123,9 @@ _create_ap() {
;;
--stop)
local stop_awk_cmd='$1 ~ /^[0-9]+$/'
opts=$("$1" --list | awk "$stop_awk_cmd")
opts=$("$1" --list-running | awk "$stop_awk_cmd")
;;
--list)
--list-running)
# No Options
;;
--mkconfig)