Crate getopt3

source ·
Expand description

getopt(3) parser

POSIX command line argument parser with GNU ‘–’ extension.

Parses the command line arguments. An element that starts with ‘-’ (and is not exactly “-” or “–”) is an option element. The characters of this element (aside from the initial ‘-’) are option characters.

Structs

  • Parsed command line options. Constructed by new function.

Functions

  • Parse command line arguments.
  • Validate parsed options.