about summary refs log tree commit diff
path: root/Completion/Builtins/_stat
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Builtins/_stat')
-rw-r--r--Completion/Builtins/_stat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Builtins/_stat b/Completion/Builtins/_stat
index 75370f991..0d72cce0b 100644
--- a/Completion/Builtins/_stat
+++ b/Completion/Builtins/_stat
@@ -5,10 +5,10 @@ local expl
 if [[ "$words[CURRENT-1]" = -[AH] ]]; then
   _arrays
 else
-  _tags elements files || return 1
+  _tags options files || return 1
 
   while _tags; do
-    _requested elements expl 'inode element' &&
+    _requested options expl 'inode element' &&
         { ! _style elements prefix-needed || [[ "$PREFIX[1]" = + ]] } &&
         compadd "$expl[@]" - +device +inode +mode +nlink +uid +gid +rdev \
                              +size +atime +mtime +ctime +blksize +block +link