Skip to content

Commit

Permalink
fix(hping2): fix unfiltered option listing for --tos
Browse files Browse the repository at this point in the history
  • Loading branch information
scop authored and akinomyoga committed May 7, 2023
1 parent 48d9cc5 commit 7e49307
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion completions/hping2
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ _comp_cmd_hping2()
return
;;
--tos | -${noargopts}o)
_comp_compgen -R -- -W '02 04 08 10'
# TODO: parse choices from `--tos help`?
_comp_compgen -- -W '02 04 08 10'
return
;;
--file | -${noargopts}E)
Expand Down

0 comments on commit 7e49307

Please sign in to comment.