* Fixed: [Irregular ordering of cli command + help text when integer is a part of command #176](https://github.com/clicon/clixon/issues/176)

* Enabled by default `cligen_lexicalorder_set()` using strversmp instead of strcmp
This commit is contained in:
Olof hagsand 2021-02-17 13:34:56 +01:00
parent e3aa17458c
commit 108f94cfad
2 changed files with 5 additions and 2 deletions

View file

@ -435,7 +435,8 @@ main(int argc,
goto done;
cligen_comment_set(cli_cligen(h), '#'); /* Default to handle #! clicon_cli scripts */
cligen_lexicalorder_set(cli_cligen(h), 1);
/*
* First-step command-line options for help, debug, config-file and log,
*/