Skip to content

Commit 35293af

Browse files
committed
feat(iftop): -G, -s, -L, and -o arg (non-)completions
1 parent 959ce82 commit 35293af

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

completions/iftop

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ _comp_cmd_iftop()
66
_comp_initialize -- "$@" || return
77

88
case $prev in
9-
-h | -f | -F | -m)
9+
-h | -f | -F | -G | -m | -s | -L)
1010
return
1111
;;
1212
-i)
@@ -17,6 +17,10 @@ _comp_cmd_iftop()
1717
_comp_compgen_filedir
1818
return
1919
;;
20+
-o)
21+
_comp_compgen -- -W "2s 10s 40s source destination"
22+
return
23+
;;
2024
esac
2125

2226
_comp_compgen_help -- -h

0 commit comments

Comments
 (0)