We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a13be1 commit 0ea21b9Copy full SHA for 0ea21b9
completions/curl
@@ -101,6 +101,7 @@ _comp_cmd_curl()
101
;;
102
--interface)
103
_comp_compgen_available_interfaces -a
104
+ _comp_compgen -a ip_addresses -a
105
return
106
107
--help | -${noargopts}h)
test/t/test_curl.py
@@ -48,3 +48,8 @@ def test_help_all_option(self, completion):
48
do not have that.
49
"""
50
assert completion
51
+
52
+ @pytest.mark.complete("curl --interface :")
53
+ def test_interface_ipv6(self, completion):
54
+ # Complete ipv6 localhost
55
+ assert ":1" in completion
0 commit comments