Skip to content

Commit

Permalink
feat(iftop): -G, -s, -L, and -o arg (non-)completions
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jun 2, 2024
1 parent 959ce82 commit 35293af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion completions/iftop
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _comp_cmd_iftop()
_comp_initialize -- "$@" || return

case $prev in
-h | -f | -F | -m)
-h | -f | -F | -G | -m | -s | -L)
return
;;
-i)
Expand All @@ -17,6 +17,10 @@ _comp_cmd_iftop()
_comp_compgen_filedir
return
;;
-o)
_comp_compgen -- -W "2s 10s 40s source destination"
return
;;
esac

_comp_compgen_help -- -h
Expand Down

0 comments on commit 35293af

Please sign in to comment.