Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH 6/6] Update wc completion
Support --total flag
---
Completion/Unix/Command/_wc | 1 +
1 file changed, 1 insertion(+)
diff --git a/Completion/Unix/Command/_wc b/Completion/Unix/Command/_wc
index 49a03ba2c..a1897e289 100644
--- a/Completion/Unix/Command/_wc
+++ b/Completion/Unix/Command/_wc
@@ -13,6 +13,7 @@ if _pick_variant gnu=GNU unix --version; then
args+=(
'(*)--files0-from=[read NUL-terminated file list from specified file]:file:_files'
'(-L --max-line-length)'{-L,--max-line-length}'[print longest line lengths]'
+ '--total=[when to print a line with total counts]:when:(auto always only never)'
)
else
args=( -A "-*" "${(@)args:#(|\(*\))(|\*)--*}" )
--
2.39.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author