mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
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:
parent
bf7b032649
commit
a97b2c00cd
6 changed files with 90 additions and 30 deletions
|
|
@ -45,6 +45,12 @@ int main(int argc, char *argv[])
|
|||
/* Parse command-line options (1st pass) */
|
||||
options_parse(argc, argv);
|
||||
|
||||
if (option.complete_sub_configs)
|
||||
{
|
||||
config_file_show_sub_configurations();
|
||||
return status;
|
||||
}
|
||||
|
||||
/* Parse configuration file */
|
||||
config_file_parse();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue