Skip to content

Commit 807de76

Browse files
akinomyogascop
andauthored
fix(hping2): fix unfiltered option listing for --tos
Co-authored-by: Ville Skyttä <[email protected]>
1 parent 16add34 commit 807de76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

completions/hping2

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ _comp_cmd_hping2()
1717
return
1818
;;
1919
--tos | -${noargopts}o)
20-
_comp_compgen -R -- -W '02 04 08 10'
20+
# TODO: parse choices from `--tos help`?
21+
_comp_compgen -- -W '02 04 08 10'
2122
return
2223
;;
2324
--file | -${noargopts}E)

0 commit comments

Comments
 (0)