summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-05-27 14:47:03 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-28 18:35:55 +0000
commit6937d279dcdeadb21252c02d42f4f540c8af2e81 (patch)
tree2b4a16af2c8a84dea6c16a77bddb7ec2102cee2d /functions
parent5915fa1b459a44d0b0928f4895ccde6ccb3e7af0 (diff)
downloadvyatta-cfg-6937d279dcdeadb21252c02d42f4f540c8af2e81.tar.gz
vyatta-cfg-6937d279dcdeadb21252c02d42f4f540c8af2e81.zip
cli: T6383: improve completion help for rollback commands
(cherry picked from commit 694e122775613d13b42db9d02ae7bb1a1853c3f5)
Diffstat (limited to 'functions')
-rw-r--r--functions/interpreter/vyatta-cfg-run2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/interpreter/vyatta-cfg-run b/functions/interpreter/vyatta-cfg-run
index a13c62d..d1dbd51 100644
--- a/functions/interpreter/vyatta-cfg-run
+++ b/functions/interpreter/vyatta-cfg-run
@@ -627,7 +627,7 @@ _vyatta_cfg_init ()
rollback)
complete -F vyatta_rollback_complete ${cmd:0:$pos} ;;
rollback-soft)
- complete -F vyatta_rollback_complete ${cmd:0:$pos} ;;
+ complete -F vyatta_rollback-soft_complete ${cmd:0:$pos} ;;
commit|commit-confirm)
complete -F vyatta_commit_complete ${cmd:0:$pos} ;;
*)