Fix typo in bash completition.

Fixes #137.
This commit is contained in:
Bjarne von Horn
2024-09-17 09:19:20 +02:00
parent 419f62161b
commit be4ff5b22f

View File

@@ -19,7 +19,7 @@
_ethercat_completions()
{
local ethercat_commands="alias confic crc cstruct data debug domains download eoe foe_read foe_write graph master pdos reg_read reg_write rescan sdos sii_read sii_write slaves soe_read soe_write states upload version xml"
local ethercat_commands="alias config crc cstruct data debug domains download eoe foe_read foe_write graph master pdos reg_read reg_write rescan sdos sii_read sii_write slaves soe_read soe_write states upload version xml"
local options="--help --force --quiet --verbose --master "
if [ "$COMP_CWORD" -eq 1 ] ; then
COMPREPLY=($(compgen -W "$ethercat_commands --help" -- "${COMP_WORDS[1]}"))