summaryrefslogtreecommitdiffhomepage
path: root/src/internal/argv
AgeCommit message (Expand)AuthorFilesLines
2024-06-22argv.h: argv_show_status(): output keyval pairs where appropriate.HEADmainmidipix1-0/+23
2024-06-22argv.h: argv_scan(): added option for parsing keyval pair and keyval array.midipix1-5/+203
2024-06-22argv.h: argv_show_status(): refactor for better readability.midipix1-2/+4
2024-06-22argv.h: argv_alloc(): refactor for better readability.midipix1-7/+11
2024-06-22argv.h: whitespace meditation.midipix1-6/+6
2024-05-28argv.h: usage screen: avoid extra <stace> when all long options are hybrid-only.midipix1-1/+11
2024-05-28argv.h: usage screen: prettify: <short-option><space><long-option>.midipix1-1/+1
2024-05-15argv.h: argv_usage_impl(): use a sentinel with a non-contant format specifier.midipix1-1/+1
2024-01-27argv.h: argv_scan(): properly handle (fhybrid && ARGV_OPTARG_OPTIONAL).midipix1-1/+6
2024-01-27argv.h: argv_scan(): whitespace meditation.midipix1-16/+34
2024-01-26argv.h: argv_show_error: refactor handling of vendor-specific option string.midipix1-10/+19
2024-01-26argv.h: argv_show_error(): gracefully handle vendor-specific (-W) arguments.midipix1-3/+24
2022-12-21argv.h: argv_show_error(): refine the 'option X requires a value' error msg.midipix1-1/+3
2021-12-30A new home.midipix1-1/+1
2021-07-06Annual chores.midipix1-1/+1
2021-05-05argv.h: tty colors: added argv_usage_plain().midipix1-4/+30
2020-01-27argv.h: remove stale comment regarding sofort.midipix1-1/+0
2018-07-14argv.h: output usage and errors using [argv_]dprintf rather than fprint.midipix1-36/+42
2018-07-14argv.h: argv_get(): be consistent between forward decl. and impl.midipix1-1/+1
2018-07-14argv.h: move definition of struct argv_meta_impl to the implementation block.midipix1-6/+6
2018-05-23argv.h: whitespace meditation.midipix1-5/+9
2018-05-23argv: argv_scan(): properly handle optional argument values of short options.midipix1-0/+2
2017-02-04annual chores.midipix1-1/+1
2016-12-26argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.midipix1-2/+2
2016-12-25argv.h: use an option vector rather than a direct pointer to the option table.midipix1-31/+52
2016-11-26argv.h: error code path: remove unneeded if statement (always true).midipix1-5/+2
2016-11-10argv.h: argv_usage(): use correct format for short option name in short mode.midipix1-1/+1
2016-11-10argv.h: error message formatting: handle lonely long options.midipix1-12/+17
2016-11-10argv.h: no need to #include <errno.h>midipix1-1/+0
2016-11-10argv.h: argv_show_status(): mark unused parameter.midipix1-0/+2
2016-11-10argv.h: usage screen generator: use the 'file' parameter rather than 'stdout'.midipix1-8/+8
2016-11-10argv.h: usage screen generator: added basic paradigm support.midipix1-1/+9
2016-11-10argv.h: usage screen generator: add colors.midipix1-0/+21
2016-11-10argv.h: simplified usage screen generator: initial implementation.midipix1-0/+135
2016-11-10argv.h: usage screen generator: remove the paradigm-supporting implementation.midipix1-331/+0
2016-11-10argv.h: usage screen generator: fix typesetting of spanning paradigms.midipix1-6/+25
2016-11-10argv.h: test for ARGV_OPTION_HYBRID_ONLY before accepting arg-less options.midipix1-3/+3
2016-11-10argv.h: add the missing ARGV_OPTION_HYBRID_ONLY to ARGV_OPTION_HYBRID_SWITCH.midipix1-1/+2
2016-11-10argv.h: usage screen generator: fix notation of purely hybrid options.midipix1-3/+13
2016-11-10argv.h: usage screen generator: give <argname> priority over <paradigm>.midipix1-14/+14
2016-11-10argv.h: argv_scan(): report argv index of first unit and first error (if any).midipix1-3/+12
2016-11-10argv_scan(): rename a shadowing automatic variable.midipix1-26/+26
2016-11-10argv.h: argv_get(): add missing initializer (ctx.program).midipix1-1/+1
2016-11-10argv.h: reluctantly add ARGV_OPTION_HYBRID_JOINED support.midipix1-9/+17
2016-11-10argv.h: main(): fix signatures.midipix1-9/+9
2016-11-10argv.h: hybrid option switches: support comma-based value assignment.midipix1-10/+26
2016-11-10annual chores.midipix1-1/+1
2016-11-10argv.h: fix ARGV_OPTARG_OPTIONAL code path for long options.midipix1-10/+1
2016-11-10argv.h: add (harmlessly) missing 'else' in ARGV_OPTARG_OPTIONAL code path.midipix1-1/+1
2016-11-10argv.h: fix semantics of calloc() calls.midipix1-6/+8