about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-04-14 15:52:08 +0200
committerOliver Kiddle <opk@zsh.org>2016-04-14 15:52:08 +0200
commitfbe2763411db0efd2e0ee36bb851842ce0f00d4a (patch)
tree6178f1b7409509ed523c7cd1e3facefd3150c337
parent8fe58bf04734f7fb5155c79fc298d15b18704185 (diff)
downloadzsh-fbe2763411db0efd2e0ee36bb851842ce0f00d4a.tar.gz
zsh-fbe2763411db0efd2e0ee36bb851842ce0f00d4a.tar.xz
zsh-fbe2763411db0efd2e0ee36bb851842ce0f00d4a.zip
37847: update du arguments up to GNU du 8.25
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_du5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a9b3d0afd..17a3aae11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+	* Christian Neukirchen: 37847: Completion/Unix/Command/_du:
+	update du arguments up to GNU du 8.25
+
 2016-04-10  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* m0viefreak: 38264: Doc/Zsh/zle.yo: improve doc for 38145
diff --git a/Completion/Unix/Command/_du b/Completion/Unix/Command/_du
index 4065a20de..e812b635e 100644
--- a/Completion/Unix/Command/_du
+++ b/Completion/Unix/Command/_du
@@ -18,16 +18,17 @@ if _pick_variant gnu=Free\ Soft unix --version /dummy/no-such-file; then
     '(-l --count-links)'{-l,--count-links}'[count sizes many times if hard linked]' \
     '(-L --dereference -H -D --dereference-args -P --no-dereference)'{-L,--dereference}'[dereference all symlinks]' \
     '(-S --separate-dirs)'{-S,--separate-dirs}'[do not include size of subdirectories]' \
-    '(-s --summarize --max-depth -a --all)'{-s,--summarize}'[only report total for each argument]' \
+    '(-s --summarize --max-depth -d -a --all)'{-s,--summarize}'[only report total for each argument]' \
     '(-x --one-file-system)'{-x,--one-file-system}'[skip directories on different filesystems]' \
     '(-0 --null)'{-0,--null}'[end each output line with NUL instead of newline]' \
     \*{-X+,--exclude-from=}'[exclude files matching any pattern in file]:file:_files' \
     '*--exclude=[exclude files matching pattern]:pattern' \
-    '(-s --summarize)--max-depth=[maximum levels to recurse]:levels' \
+    '(-s --summarize -d --max-depth)'{-d+,--max-depth=}'[maximum levels to recurse]:levels' \
     '--files0-from=[use NUL-terminated list of files from file]:file:_files' \
     '--time-style=[show times using given style, +FORMAT for strftime formatted args]:style:->timestyle' \
     '--time=-[show time of last modification of any file in the directory]:property:(atime access use ctime status)' \
     '(-t --threshold)'{-t+,--threshold=}'[report only entries for which size exceeds threshold]:threshold' \
+    '--inodes[list inode usage information instead of block usage]' \
     '(* -)--help[display help information]' \
     '(* -)--version[display version information]' \
     '*:file:_files' && ret=0