From 45d910356ad6b75d47e56ed5cef2f43bffc12fca Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 14 Mar 2017 16:13:05 +0100 Subject: 40842: update completions for coreutils and similar utilities, also improving BSD and Solaris support --- Completion/Unix/Command/_df | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Completion/Unix/Command/_df') diff --git a/Completion/Unix/Command/_df b/Completion/Unix/Command/_df index a98180a2c..677b8c727 100644 --- a/Completion/Unix/Command/_df +++ b/Completion/Unix/Command/_df @@ -5,12 +5,6 @@ local -A opt_args if _pick_variant gnu=GNU unix --version; then args=( - '(-B --block-size -k)'{-B+,--block-size=}'[specify block size]:size (bytes)' - '(-B --block-size -k)-k[like --block-size=1K]' - '(-P --portability)'{-P,--portability}'[use the POSIX output format]' - '(-h --human-readable -H --si)'{-h,--human-readable}'[print sizes in human readable format]' - '(-h --human-readable -H --si)'{-H,--si}'[human readable fomat, but use powers of 1000 not 1024]' - '(-i --inodes)'{-i,--inodes}'[list inode information instead of block usage]' '--total[produce a grand total]' '(-T --print-type)'{-T,--print-type}'[print file system type]' '(-a --all)'{-a,--all}'[include dummy file systems]' @@ -23,6 +17,13 @@ if _pick_variant gnu=GNU unix --version; then '(- : *)--help[display help and exit]' '(- : *)--version[output version information and exit]' '*:files:_files' + - '(format)' + {-B+,--block-size=}'[specify block size]:size (bytes)' + '-k[like --block-size=1K]' + {-P,--portability}'[use the POSIX output format]' + {-h,--human-readable}'[print sizes in human readable format]' + {-H,--si}'[human readable format, but use powers of 1000 not 1024]' + {-i,--inodes}'[list inode information instead of block usage]' ) elif [[ "$OSTYPE" == (darwin|freebsd|dragonfly)* ]]; then args=( -- cgit 1.4.1