Commit graph

34 commits

Author SHA1 Message Date
Lukas Wurzinger 762a5c602c use strlen for literals 2024-08-08 01:59:19 +02:00
Lukas Wurzinger 8d92ad3993 assign operands 2023-02-19 14:37:44 +01:00
Lukas Wurzinger 8a59e08b6c remove readarg_helpgen_format 2022-12-13 21:41:34 +01:00
Lukas Wurzinger 162498be5a remove some unnecessary code 2022-12-12 21:05:23 +01:00
Lukas Wurzinger 278098189d remove nupper 2022-12-12 19:54:26 +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 1609404b8e remove unnecessary nesting 2022-11-19 11:22:27 +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 986d816b43 readme: update function name 2022-10-23 14:37:23 +02:00
Lukas Wurzinger de7fdcda92 remove obsolete readarg_format 2022-10-16 12:28:43 +02: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 61446a3c89 update readme 2022-09-29 21:33:41 +02:00
Lukas Wurzinger a294c94716 prefix "private" functions 2022-09-25 12:56:00 +02:00
Lukas Wurzinger 28cf939964 relicense to CC0 2022-09-25 12:43:36 +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 0650e1ddb9 formatting 2022-09-25 12:08:56 +02:00
Lukas Wurzinger 4f5a9d794d reduce scope 2022-09-24 21:12:22 +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 8aa1920213 correct name 2021-02-09 12:38:49 +01:00
Lukas Wurzinger 891b51b67f separate build and config 2021-02-08 19:30:32 +01:00
Lukas Wurzinger 016ed8ff6c initial commit 2021-02-08 17:07:25 +01:00