Skip to content

Commit

Permalink
* Fixed: [Irregular ordering of cli command + help text when integer …
Browse files Browse the repository at this point in the history
…is a part of command #176](#176)

  * Enabled by default `cligen_lexicalorder_set()` using strversmp instead of strcmp
  • Loading branch information
olofhagsand committed Feb 17, 2021
1 parent e3aa174 commit 108f94c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ Developers may need to change their code

### Corrected Bugs

* Fixed [xml bind yang error in xml_bind_yang_rpc_reply #175](https://github.com/clicon/clixon/issues/175)
* 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
* Fixed: [xml bind yang error in xml_bind_yang_rpc_reply #175](https://github.com/clicon/clixon/issues/175)
* Fixed: [Is there an error with plugin's ca_interrupt setting ? #173](https://github.com/clicon/clixon/issues/173)
* Fixed: unknown nodes (for extenstions) did not work when placed directly under a grouping clause
* Fixed: [Behaviour of Empty LIST Input in RESTCONF JSON #166](https://github.com/clicon/clixon/issues/166)
Expand Down
3 changes: 2 additions & 1 deletion apps/cli/cli_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
*/
Expand Down

0 comments on commit 108f94c

Please sign in to comment.