Skip to content

Commit 3e55711

Browse files
committed
feat(xmlwf): add -a and -b arg non-completions
$ xmlwf -v xmlwf using expat_2.4.1 [...] $ xmlwf --help [...] -a FACTOR set maximum tolerated [a]mplification factor [...] -b BYTES set number of output [b]ytes needed to activate [...] [...] Bundle a non-arg option in related test to test bundling behavior while at it.
1 parent af91a70 commit 3e55711

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

completions/xmlwf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ _xmlwf()
1515
-- "$cur"))
1616
return
1717
;;
18-
-*v)
18+
-*[abv])
1919
return
2020
;;
2121
esac

test/t/test_xmlwf.py

+4
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ def test_1(self, completion):
99
@pytest.mark.complete("xmlwf -", require_cmd=True)
1010
def test_2(self, completion):
1111
assert completion
12+
13+
@pytest.mark.complete("xmlwf -sa ")
14+
def test_no_arg_to_a(self, completion):
15+
assert not completion

0 commit comments

Comments
 (0)