]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
python: client: completion: use argparse.REMAINDER
authorAleš Mrázek <ales.mrazek@nic.cz>
Tue, 5 Nov 2024 09:27:49 +0000 (10:27 +0100)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 20 Dec 2024 21:24:22 +0000 (22:24 +0100)
commitea7a22600b65e7beedd1ad5ba1d467c8758e7e0d
treeabbfde7c6aa71dcd0809f52e0e8c9eea44ef75c0
parentd2d9752bd10cfb30232a7b48f4df9bf1a5ea81b4
python: client: completion: use argparse.REMAINDER

Use argparse.REMAINDER to tell argparse to accept everything after argument as value for that argument.
python/knot_resolver/client/commands/completion.py