diff options
| author | Akihiro MOTOKI <motoki@da.jp.nec.com> | 2012-12-08 03:28:45 +0900 |
|---|---|---|
| committer | Akihiro MOTOKI <motoki@da.jp.nec.com> | 2012-12-11 01:17:31 +0900 |
| commit | 2ba519d142abcf2e3907b031e569618150992ca1 (patch) | |
| tree | 1b57567a4651f2d718cedd6a09addef92f754a72 /tools | |
| parent | d48d35aa9bb1ef38714d7b8eb7859fc59a5df0ec (diff) | |
| download | python-neutronclient-2ba519d142abcf2e3907b031e569618150992ca1.tar.gz | |
Fix a wrong substition for '-h' in bash completion
Fixes bug #1087806
Change-Id: Id39cac821922ca6adea296335f2395fabb011754
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/quantum.bash_completion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/quantum.bash_completion b/tools/quantum.bash_completion index 45db025..311f533 100644 --- a/tools/quantum.bash_completion +++ b/tools/quantum.bash_completion @@ -9,7 +9,7 @@ _quantum() prev="${COMP_WORDS[COMP_CWORD-1]}" if [ "x$_quantum_opts" == "x" ] ; then - nbc="`quantum bash-completion | sed -e "s/\s-h\s/\s/"`" + nbc="`quantum bash-completion`" _quantum_opts="`echo "$nbc" | sed -e "s/--[a-z0-9_-]*//g" -e "s/\s\s*/ /g"`" _quantum_flags="`echo " $nbc" | sed -e "s/ [^-][^-][a-z0-9_-]*//g" -e "s/\s\s*/ /g"`" _quantum_opts_exp="`echo "$_quantum_opts" | sed -e "s/\s/|/g"`" |
