optionOnlyUsage(3)

optionOnlyUsage3

Print usage text for just the options

Usage

#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]

void optionOnlyUsage(tOptions * pOpts, int ex_code);

Overview

This routine will print only the usage for each option. This function may be used when the emitted usage must incorporate information not available to AutoOpts.

pOpts

program options descriptor

ex_code

exit code for calling exit(3)

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

From autogen 5.18.16-6 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.