diff --git a/CHANGELOG.md b/CHANGELOG.md index 727ae10f..332576b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/apps/cli/cli_main.c b/apps/cli/cli_main.c index 6ff0f8d3..8e153502 100644 --- a/apps/cli/cli_main.c +++ b/apps/cli/cli_main.c @@ -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, */