From ef1f9e1978b84d20c76936a95014ae4c51b72017 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Fri, 5 Jan 2018 17:17:47 +0100 Subject: 42229: update completion of GNU programs for coreutils 8.29 / gawk 4.2.0 --- Completion/Unix/Command/_awk | 1 + Completion/Unix/Command/_df | 5 ++++- Completion/Unix/Command/_ls | 2 +- Completion/Unix/Command/_od | 2 +- Completion/Unix/Command/_tail | 2 +- Completion/Unix/Command/_timeout | 1 + 6 files changed, 9 insertions(+), 4 deletions(-) (limited to 'Completion/Unix') diff --git a/Completion/Unix/Command/_awk b/Completion/Unix/Command/_awk index 9050c2f7d..4063743e5 100644 --- a/Completion/Unix/Command/_awk +++ b/Completion/Unix/Command/_awk @@ -53,6 +53,7 @@ case $variant in '*'{-l+,--load}'[load dynamic extension]:extension:->extension' {-M,--bignum}'[select arbitrary-precision arithmetic on numbers]' {-o-,--pretty-print=-}'[pretty-print awk program]::output file:_files' + '(-s --no-optimize)'{-s,--no-optimize}'[disable default optimizations upon the internal program representation]' {-S,--sandbox}'[disable system(), redirections and dynamic extensions]' ) ;; diff --git a/Completion/Unix/Command/_df b/Completion/Unix/Command/_df index 4567b64b0..2586f4358 100644 --- a/Completion/Unix/Command/_df +++ b/Completion/Unix/Command/_df @@ -8,12 +8,15 @@ if _pick_variant gnu=GNU unix --version; then '--total[produce a grand total]' '(-T --print-type)'{-T,--print-type}'[print file system type]' '(-a --all)'{-a,--all}'[include dummy file systems]' + '--direct[show statistics for a file instead of mount point]' '(-l --local)'{-l,--local}'[limit listing to local file systems]' '*'{-t+,--type=}'[limit listing to file systems of specified type]:file system type:_file_systems' '*'{-x+,--exclude-type=}'[exclude file systems of specified type]:file system type:_file_systems' '(--no-sync)--sync[invoke sync before getting usage info]' '(--sync)--no-sync[do not invoke sync before getting usage info (default)]' - '-v[(ignored)]' + '--output=-[output all or specified fields]::field:_values -s , "field" + source fstype itotal iused iavail ipcent size used avail pcent file target' + '!-v' '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' '*:files:_umountable' diff --git a/Completion/Unix/Command/_ls b/Completion/Unix/Command/_ls index d10c4f9bf..ea96de6ff 100644 --- a/Completion/Unix/Command/_ls +++ b/Completion/Unix/Command/_ls @@ -177,7 +177,7 @@ else '(-f)--full-time[list both full date and full time]' '(--block-size --human-readable -h --si --kilobytes -k)'{--kilobytes,-k}'[use block size of 1k]' - '(--human-readable -h --si --kilobytes -k)--block-size=[specify block size]:block size (bytes):(1024)' + '(--human-readable -h --si --kilobytes -k)--block-size=[specify block size]:block size (bytes):(K M G T P E Z Y KB MB TB PB EB ZB YB)' '(--numeric-uid-gid -n)'{--numeric-uid-gid,-n}'[numeric uid, gid]' '(--tabsize -T)'{--tabsize=,-T+}'[specify tab size]:tab size' diff --git a/Completion/Unix/Command/_od b/Completion/Unix/Command/_od index db75b3f96..aba400660 100644 --- a/Completion/Unix/Command/_od +++ b/Completion/Unix/Command/_od @@ -27,7 +27,7 @@ if _pick_variant gnu=GNU unix --version; then args+=( '--traditional' '--endian=[swap input bytes]:endianess:(big little)' - {-S+,--strings=-}'[output strings of at least specfied bytes long]:length' + {-S+,--strings=-}'[output strings of at least specified bytes long]:length' {-w-,--width=-}'[output specified bytes per line]:bytes' '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' diff --git a/Completion/Unix/Command/_tail b/Completion/Unix/Command/_tail index b7001389b..599503ab5 100644 --- a/Completion/Unix/Command/_tail +++ b/Completion/Unix/Command/_tail @@ -11,7 +11,7 @@ if _pick_variant gnu=GNU unix --version; then '(-F --follow)-f[same as --follow=descriptor]' '(-f --follow --retry)-F[same as --follow=name --retry]' '--max-unchanged-stats=[with --follow=name, check file rename after the specified number of iterations]:number of iterations' - '(-s --sleep-interval)'{-s+,--sleep-interval=}'[with -f, sleep the specfied seconds between iterations]:seconds' + '(-s --sleep-interval)'{-s+,--sleep-interval=}'[with -f, sleep the specified seconds between iterations]:seconds' '--pid=[with -f, terminate after the specified process dies]:pid:_pids' '(-q --quiet --silent -v --verbose)'{-q,--quiet,--silent}'[never output headers giving file names]' '(-q --quiet --silent -v --verbose)'{-v,--verbose}'[always output headers giving file names]' diff --git a/Completion/Unix/Command/_timeout b/Completion/Unix/Command/_timeout index 0e6d057b3..5c27bee47 100644 --- a/Completion/Unix/Command/_timeout +++ b/Completion/Unix/Command/_timeout @@ -5,6 +5,7 @@ local args if [[ $service = g* || $OSTYPE != *bsd* ]]; then # GNU coreutils as opposed to Free/NetBSD implementation args=( + '(-v --verbose)'{-v,--verbose}'[indicate when signal is sent upon timeout]' '(- *)--help[display usage information]' '(- *)--version[display version information]' ) -- cgit 1.4.1