Merge "Fix bash autocompletion of "rally task sla_check""
This commit is contained in:
commit
ed5d5baba3
@ -50,8 +50,9 @@ _rally()
|
||||
|
||||
|
||||
for OPT in ${!OPTS[*]} ; do
|
||||
CMDSUB=(${OPT//_/ })
|
||||
SUBCOMMANDS[${CMDSUB[0]}]+="${CMDSUB[1]} "
|
||||
CMD=${OPT%%_*}
|
||||
CMDSUB=${OPT#*_}
|
||||
SUBCOMMANDS[${CMD}]+="${CMDSUB} "
|
||||
done
|
||||
|
||||
COMMANDS="${!SUBCOMMANDS[*]}"
|
||||
|
@ -445,8 +445,9 @@ _rally()
|
||||
%(data)s
|
||||
|
||||
for OPT in ${!OPTS[*]} ; do
|
||||
CMDSUB=(${OPT//_/ })
|
||||
SUBCOMMANDS[${CMDSUB[0]}]+="${CMDSUB[1]} "
|
||||
CMD=${OPT%%%%_*}
|
||||
CMDSUB=${OPT#*_}
|
||||
SUBCOMMANDS[${CMD}]+="${CMDSUB} "
|
||||
done
|
||||
|
||||
COMMANDS="${!SUBCOMMANDS[*]}"
|
||||
|
Loading…
Reference in New Issue
Block a user