Fixed: [Clixon CLI issue: when I try to print the value of the leaf node nothing appeared](https://github.com/clicon/clixon/issues/345)
This commit is contained in:
parent
d7ed503bad
commit
57bc36d5ed
3 changed files with 4 additions and 3 deletions
|
|
@ -128,6 +128,7 @@ Developers may need to change their code
|
||||||
|
|
||||||
### Corrected Bugs
|
### Corrected Bugs
|
||||||
|
|
||||||
|
* Fixed: [Clixon CLI issue: when I try to print the value of the leaf node nothing appeared](https://github.com/clicon/clixon/issues/345)
|
||||||
* Fixed: [Can't use + symbol in the enum statement without quotes](https://github.com/clicon/clixon/issues/241)
|
* Fixed: [Can't use + symbol in the enum statement without quotes](https://github.com/clicon/clixon/issues/241)
|
||||||
* Fixed: [String concatenation in YANG model leads to syntax error ](https://github.com/clicon/clixon/issues/265)
|
* Fixed: [String concatenation in YANG model leads to syntax error ](https://github.com/clicon/clixon/issues/265)
|
||||||
* Fixed: ["autocli:hide-show" extension cause bug in xmldb_put method #343](https://github.com/clicon/clixon/issues/343)
|
* Fixed: ["autocli:hide-show" extension cause bug in xmldb_put method #343](https://github.com/clicon/clixon/issues/343)
|
||||||
|
|
|
||||||
|
|
@ -770,11 +770,11 @@ cli_show_auto1(clicon_handle h,
|
||||||
fprintf(stdout, "</config></edit-config></rpc>]]>]]>\n");
|
fprintf(stdout, "</config></edit-config></rpc>]]>]]>\n");
|
||||||
break;
|
break;
|
||||||
case FORMAT_JSON:
|
case FORMAT_JSON:
|
||||||
if (clixon_json2file(stdout, xp, 1, cligen_output, 1, 1) < 0)
|
if (clixon_json2file(stdout, xp, 1, cligen_output, 0, 1) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
break;
|
break;
|
||||||
case FORMAT_TEXT:
|
case FORMAT_TEXT:
|
||||||
if (clixon_txt2file(stdout, xp, 0, cligen_output, 1, 1) < 0)
|
if (clixon_txt2file(stdout, xp, 0, cligen_output, 0, 1) < 0)
|
||||||
goto done;
|
goto done;
|
||||||
break;
|
break;
|
||||||
case FORMAT_XML:
|
case FORMAT_XML:
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,7 @@ copy("Copy and create a new object") {
|
||||||
discard("Discard edits (rollback 0)"), discard_changes();
|
discard("Discard edits (rollback 0)"), discard_changes();
|
||||||
|
|
||||||
show("Show a particular state of the system"){
|
show("Show a particular state of the system"){
|
||||||
auto("Show expand") @datamodel, cli_show_auto("candidate", "xml");
|
auto("Show expand") @datamodelshow, cli_show_auto("candidate", "xml");
|
||||||
xpath("Show configuration") <xpath:string>("XPATH expression")
|
xpath("Show configuration") <xpath:string>("XPATH expression")
|
||||||
[<ns:string>("Namespace")], show_conf_xpath("candidate");
|
[<ns:string>("Namespace")], show_conf_xpath("candidate");
|
||||||
version("Show version"), cli_show_version("candidate", "text", "/");
|
version("Show version"), cli_show_version("candidate", "text", "/");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue