Skip to content

Commit a3e7b9b

Browse files
authored
Merge ign-tools1 ➡️ main (#88)
Signed-off-by: Louise Poubel <louise@openrobotics.org>
2 parents 340f3f5 + 7a67a85 commit a3e7b9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
22

33
project (ignition-tools2)
44

etc/ign.bash_completion.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function _ign
1010

1111
# searching for the command
1212
for ((i=1; $i<=$COMP_CWORD; i++)); do
13-
if [[ ${COMPWORDS[i]} != -* ]]; then
13+
if [[ ${COMP_WORDS[i]} != -* ]]; then
1414
cmd="${COMP_WORDS[i]}"
1515
break
1616
fi
@@ -27,7 +27,7 @@ function _ign
2727
fi
2828

2929
else
30-
opts=$(ign --commands)
30+
opts="$(ign --commands) help"
3131
fi
3232

3333
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))

0 commit comments

Comments
 (0)