Commit graph

5 commits

Author SHA1 Message Date
Matthew Wild
43be6cb1c6 util.argparse: Add strict mode + tests 2025-02-17 18:24:23 +00:00
Kim Alvefur
21740a1382 util.argparse: Add support for repeatable parameters
These are gathered into arrays
2022-01-05 04:46:27 +01:00
Matthew Wild
93347db124 util.argparse: Revise 553c6204fe5b with a different approach
The second return value is (not insensibly) assumed to be an error. Instead of
returning a value there in the success case, copy the positional arguments
into the existing opts table.
2022-04-25 15:24:56 +01:00
Kim Alvefur
21784ddc11 util.argparse: Add test for #1691 2021-10-12 14:54:04 +02:00
Kim Alvefur
0c99443297 util.argparse: Tests 2021-10-12 14:48:21 +02:00