test, provide regression tests for optargs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'test/optarg'

* test/optarg:
  test, provide regression tests for optargs
test, provide regression tests for mulargs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, parse mulargs, use ARG... syntax

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
cosmetics, for symmetry reasons check for closing optarg paren in short-opt case

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, resolve slot identifier of arg,mul to *_args (plural)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, declare both the _nargs and _args slot for mulargs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide accessor for mulargs' nargs slot, yuck_cnt_slot()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, define action for multi-args (and multi-optargs)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
minor, provide a simple yuck_append() based on realloc()

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, shut gcc up about unused functions

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
chore, also cope with multi-optargs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
test, provide regression tests for multi-optargs

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'feat/mularg'

* feat/mularg:
  test, provide regression tests for multi-optargs
  chore, also cope with multi-optargs
  hygiene, shut gcc up about unused functions
  minor, provide a simple yuck_append() based on realloc()
  minor, define action for multi-args (and multi-optargs)
  minor, provide accessor for mulargs' nargs slot, yuck_cnt_slot()
  minor, declare both the _nargs and _args slot for mulargs
  minor, resolve slot identifier of arg,mul to *_args (plural)
  cosmetics, for symmetry reasons check for closing optarg paren in short-opt case
  minor, parse mulargs, use ARG... syntax
  test, provide regression tests for mulargs
hygiene, return exit code 2 if m4 process doesn't exit gracefully

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, change input sig of wr_intermediaries() to something compatible

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, don't decl-initialise rc in run_m4() as switch may bypass this initialisation

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
hygiene, turn yuck_append() into inline (and move up)

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>
Merge branch 'code/hygiene'

* code/hygiene:
  hygiene, turn yuck_append() into inline (and move up)
  hygiene, don't decl-initialise rc in run_m4() as switch may bypass this initialisation
  hygiene, change input sig of wr_intermediaries() to something compatible
  hygiene, return exit code 2 if m4 process doesn't exit gracefully