An argument-parsing library for C.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
src
.gitignore
license.txt
makefile
readme.md

readme.md

Janus for C

A C library for parsing command line arguments.

Features

  • Long-form boolean flags with single-character shortcuts: --flag, -f.

  • Long-form string, integer, and floating-point options with single-character shortcuts: --option <arg>, -o <arg>.

  • Condensed short-form options: -abc <arg> <arg>.

  • Automatic --help and --version flags.

  • Support for multivalued options.

  • Support for git-style command interfaces with arbitrarily-nested commands.

Links