Questions tagged [argp]

An interface in the GNU C library for parsing Unix-style argument vectors.

One source for more information about argp_parse() and the <argp.h> header is The GNU C Library — Argp.

16 questions
0
votes
2 answers

mutually exclusive options with argp in C

Does anyone know how to specify mutually exclusive options with argp in C? Is there any trick one could use? EDIT What are mutually exclusive options? Say you have some command line utility. You type utility --help and the output looks like…
flashburn
  • 4,180
  • 7
  • 54
  • 109
1
2