1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 09:16:11 +00:00

fixed some comments

This commit is contained in:
Bernd Schatz 2020-03-29 19:51:38 +02:00
parent 055bc28640
commit 3b49c8ab81

View File

@ -4,7 +4,7 @@
# ####### # #######
g810_device_options="-dv -dp -ds -tuk" g810_device_options="-dv -dp -ds -tuk"
g810_tuk_option="-tuk" g810_tuk_option="-tuk"
g810_tuk_options="1 2 3" g810_tuk_options="1 2 3" # yet not used
g810_options="$g810_device_options g810_tuk_option" g810_options="$g810_device_options g810_tuk_option"
# COMMANDS # COMMANDS
@ -55,9 +55,6 @@ _g810-led_completions()
done done
if [[ $contains -eq 1 && $exactmatch -eq 1 ]]; then return; fi; if [[ $contains -eq 1 && $exactmatch -eq 1 ]]; then return; fi;
# long commands with parameter
# ############################
# --> startup mode # --> startup mode
if [[ $startup_mode_command == "${COMP_WORDS[i]}" ]] if [[ $startup_mode_command == "${COMP_WORDS[i]}" ]]
then then
@ -92,7 +89,6 @@ _g810-led_completions()
fi fi
# commands with keygroups # commands with keygroups
# #######################
if [[ " $key_group_commands " =~ " ${COMP_WORDS[i]} " ]] if [[ " $key_group_commands " =~ " ${COMP_WORDS[i]} " ]]
then then
((i++)) ((i++))