We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 340f3f5 + 7a67a85 commit a3e7b9bCopy full SHA for a3e7b9b
CMakeLists.txt
@@ -1,4 +1,4 @@
1
-cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
+cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
2
3
project (ignition-tools2)
4
etc/ign.bash_completion.sh
@@ -10,7 +10,7 @@ function _ign
10
11
# searching for the command
12
for ((i=1; $i<=$COMP_CWORD; i++)); do
13
- if [[ ${COMPWORDS[i]} != -* ]]; then
+ if [[ ${COMP_WORDS[i]} != -* ]]; then
14
cmd="${COMP_WORDS[i]}"
15
break
16
fi
@@ -27,7 +27,7 @@ function _ign
27
28
29
else
30
- opts=$(ign --commands)
+ opts="$(ign --commands) help"
31
32
33
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
0 commit comments