From 658abc770600556268fd1a7cab29e905fb83bf49 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 22 Nov 2010 12:25:56 -0800 Subject: Add warning if using "commit confirm" instead of "commit-confirm". --- etc/bash_completion.d/20vyatta-cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'etc/bash_completion.d') diff --git a/etc/bash_completion.d/20vyatta-cfg b/etc/bash_completion.d/20vyatta-cfg index c62f51a..d7b849c 100755 --- a/etc/bash_completion.d/20vyatta-cfg +++ b/etc/bash_completion.d/20vyatta-cfg @@ -106,6 +106,9 @@ commit () next=0; elif [ "$arg" == "comment" ]; then next=1 + elif [ "$arg" == "confirm" ]; then + echo Use commit-confirm command + return 1; else args[${#args[@]}]="$arg" fi -- cgit v1.2.3