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:
@ -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)
|
||||
|
Reference in New Issue
Block a user