aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/completions/wc.fish
diff options
context:
space:
mode:
Diffstat (limited to 'share/completions/wc.fish')
-rw-r--r--share/completions/wc.fish7
1 files changed, 7 insertions, 0 deletions
diff --git a/share/completions/wc.fish b/share/completions/wc.fish
new file mode 100644
index 00000000..f4e5c1e6
--- /dev/null
+++ b/share/completions/wc.fish
@@ -0,0 +1,7 @@
+complete -c wc -s c -l bytes -d (_ "Print byte counts")
+complete -c wc -s m -l chars -d (_ "Print character counts")
+complete -c wc -s l -l lines -d (_ "Print newline counts")
+complete -c wc -s L -l max-line-length -d (_ "Print length of longest line")
+complete -c wc -s w -l words -d (_ "Print word counts")
+complete -c wc -l help -d (_ "Display help and exit")
+complete -c wc -l version -d (_ "Display version and exit")