mirror of
https://github.com/OpenNebula/one.git
synced 2024-12-22 13:33:52 +03:00
M #: Add missing CLI autocompletion for onemarket (#2800)
This commit is contained in:
parent
4fb8cc30b5
commit
97c683f9f6
@ -480,7 +480,7 @@ _onemarket() {
|
||||
if [ "${#COMP_WORDS[@]}" -gt "2" ]; then
|
||||
pprev="${COMP_WORDS[COMP_CWORD-2]}"
|
||||
fi
|
||||
opts="create delete chgrp chown chmod list show update rename"
|
||||
opts="create delete chgrp chown chmod list show update rename enable disable"
|
||||
cmd=onemarket
|
||||
if [ "$COMP_CWORD" == 1 ]; then
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
||||
|
Loading…
Reference in New Issue
Block a user