Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit 2ba519d

Browse files
author
Akihiro MOTOKI
committed
Fix a wrong substition for '-h' in bash completion
Fixes bug #1087806 Change-Id: Id39cac821922ca6adea296335f2395fabb011754
1 parent d48d35a commit 2ba519d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/quantum.bash_completion‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ _quantum()
99
prev="${COMP_WORDS[COMP_CWORD-1]}"
1010

1111
if [ "x$_quantum_opts" == "x" ] ; then
12-
nbc="`quantum bash-completion | sed -e "s/\s-h\s/\s/"`"
12+
nbc="`quantum bash-completion`"
1313
_quantum_opts="`echo "$nbc" | sed -e "s/--[a-z0-9_-]*//g" -e "s/\s\s*/ /g"`"
1414
_quantum_flags="`echo " $nbc" | sed -e "s/ [^-][^-][a-z0-9_-]*//g" -e "s/\s\s*/ /g"`"
1515
_quantum_opts_exp="`echo "$_quantum_opts" | sed -e "s/\s/|/g"`"

0 commit comments

Comments
 (0)