From 833e748288217f2111828f03c96a38f105ac7ba8 Mon Sep 17 00:00:00 2001 From: Olof hagsand Date: Wed, 7 Feb 2024 09:31:00 +0100 Subject: [PATCH] Fixed: [commit goes 2 times](https://github.com/clicon/clixon/issues/488) --- CHANGELOG.md | 2 ++ example/main/example_cli.cli | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d267958..294a520c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,8 @@ Developers may need to change their code ### Corrected Bugs +* Fixed: [commit goes 2 times](https://github.com/clicon/clixon/issues/488) +* Fixed: Problem with cl:ignore attribute for show compare * Fixed: [yang_enum_int_value() fails if no explicit values are assigned to enums](https://github.com/clicon/clixon/issues/483) Remaining work: `yang_enum2valstr()` * Fixed: [show compare/diff problems with sorted-by user](https://github.com/clicon/clixon/issues/482) diff --git a/example/main/example_cli.cli b/example/main/example_cli.cli index 5981fc18..719d7500 100644 --- a/example/main/example_cli.cli +++ b/example/main/example_cli.cli @@ -48,7 +48,7 @@ delete("Delete a configuration item") { all("Delete whole candidate configuration"), delete_all("candidate"); } validate("Validate changes"), cli_validate(); -commit("Commit the changes"), cli_commit(); { +commit("Commit the changes") { [persist-id("Specify the 'persist' value of a previous confirmed-commit") ("The 'persist' value of the persistent confirmed-commit")], cli_commit(); { ("Cancel an ongoing confirmed-commit"), cli_commit(); ("Require a confirming commit") {