From 69fcc22dc84e8411870ba8f2a4c876e223ad2a08 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Sat, 7 Oct 2017 22:26:51 +0200 Subject: 41823: new completions for some GNU coreutils utilities --- Completion/Unix/Command/_unexpand | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Completion/Unix/Command/_unexpand') diff --git a/Completion/Unix/Command/_unexpand b/Completion/Unix/Command/_unexpand index c983c628f..d9793ea70 100644 --- a/Completion/Unix/Command/_unexpand +++ b/Completion/Unix/Command/_unexpand @@ -1,4 +1,4 @@ -#compdef unexpand +#compdef unexpand gunexpand local all tabs ret=1 local -a args @@ -6,21 +6,21 @@ local -a args all="convert all whitespace, instead of just initial whitespace" tabs="use comma separated list of tab positions" args=( - "(--all)-a[$all]" - "(--tabs)-t[$tabs]:tablist" - "*:file:_files" + "(--all)-a[$all]" + "(--tabs)-t+[$tabs]:tablist" + '*:file:_files' ) if _pick_variant gnu="Free Soft" unix --version; then - args+=( - "(-a)--all[$all]" - "--first-only[convert only leading sequences of whitespace]" - "(-t)--tabs=[$tabs]:tablist" - "(* -)--help[display help message and exit]" - "(* -)--version[output version information and exit]" - ) + args+=( + "(-a)--all[$all]" + '--first-only[convert only leading sequences of whitespace]' + "(-t)--tabs=[$tabs]:tablist" + '(* -)--help[display usage information]' + '(* -)--version[output version information]' + ) fi -_arguments "$args[@]" && ret=0 +_arguments -s -S "$args[@]" && ret=0 return ret -- cgit 1.4.1