1
0
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:
Daniel Clavijo Coca 2023-11-06 06:11:22 -06:00 committed by GitHub
parent 4fb8cc30b5
commit 97c683f9f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}") )