Commit graph

20 commits

Author SHA1 Message Date
Lukas Wurzinger 8d92ad3993 assign operands 2023-02-19 14:37:44 +01:00
Lukas Wurzinger 6b74bfb234 use lengths for options and operands rather than sentinels 2022-12-12 18:36:20 +01:00
Lukas Wurzinger 18fefa2aaa make option validation optional 2022-12-11 14:10:42 +01:00
Lukas Wurzinger 9a694f3ff5 fix some clang-format rules 2022-12-04 11:48:34 +01:00
Lukas Wurzinger f0705dbefc fix warnings from GCC and Clang 2022-12-03 12:53:50 +01:00
Lukas Wurzinger cd5acee3bd make arg.name imply that an argument is required 2022-11-21 18:09:59 +01:00
Lukas Wurzinger 42219c391d make test.(ba)sh less annoying 2022-11-20 12:41:10 +01:00
Lukas Wurzinger 9673f67806 fix test.sh 2022-11-19 11:20:57 +01:00
Lukas Wurzinger 4a20ed53bc fix missing-braces warning 2022-11-12 14:17:48 +01:00
Lukas Wurzinger 970dd3b2f7 implement usage string generation 2022-11-12 14:06:20 +01:00
Lukas Wurzinger 5acd671462 make debug assertions opt-in 2022-10-31 16:48:59 +01:00
Lukas Wurzinger 709dfb6531 adjust naming 2022-10-12 22:30:55 +02:00
Lukas Wurzinger 62ae72015d remove modelines 2022-10-12 21:52:00 +02:00
Lukas Wurzinger 5e200ea4f8 rename to readarg 2022-10-12 21:49:23 +02:00
Lukas Wurzinger b4b72a51d5 replace READOPT_ALLOC_STRINGS with READOPT_STRINGS
The word "alloc" could be misleading in this context.
2022-09-30 16:34:08 +02:00
Lukas Wurzinger 9dfa36d7e7 formatting 2022-09-25 12:42:17 +02:00
Lukas Wurzinger 3ecc2317ab turn readopt into a single-header library 2022-09-25 12:40:12 +02:00
Lukas Wurzinger 11cd1cf7c3 const-qualify + cleanup 2021-03-09 19:54:03 +01:00
Lukas Wurzinger 77394a61dc simplify error handling 2021-03-02 18:25:50 +01:00
Lukas Wurzinger 016ed8ff6c initial commit 2021-02-08 17:07:25 +01:00