From e1135bfaca705ae7646beb021b3a8fd7cfdef99d Mon Sep 17 00:00:00 2001 From: Ben Finney Date: Sun, 27 Nov 2016 14:40:36 +1100 Subject: [PATCH] Define cases with the conventional order for options spellings. --- bash-completion/dput.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bash-completion/dput.bash b/bash-completion/dput.bash index 0864614..8a6ad91 100644 --- a/bash-completion/dput.bash +++ b/bash-completion/dput.bash @@ -26,11 +26,11 @@ _dput () { } | grep -v '^DEFAULT$' | sort -u) case "$prev" in - --delayed|-e) + -e|--delayed) local delayed_options='0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15' COMPREPLY=( $( compgen -W "$delayed_options" | grep ^$cur ) ) ;; - --config|-c) + -c|--config) COMPREPLY=( $( compgen -o filenames -G "$cur*" ) ) ;; *) -- 2.11.4.GIT