Add shell completion of sub-configuration names

Does not work with sub configuration names that contains one or more
white spaces.
This commit is contained in:
Martin Lund 2022-10-16 23:01:08 +02:00
parent bf7b032649
commit a97b2c00cd
6 changed files with 90 additions and 30 deletions

View file

@ -66,6 +66,7 @@ struct option_t
int32_t rs485_delay_rts_before_send;
int32_t rs485_delay_rts_after_send;
enum alert_t alert;
bool complete_sub_configs;
};
extern struct option_t option;