FICHA · MANJARO

gengetopt

A tool to write command line option parsing code for C programs

  • development-tool
  • CLI
  • Launchable
  • Runs in terminal
official+codex · reviewed · May 27, 2026 description in en

Description

A code generator for command-line option parsing in C programs. Developers describe the expected options once, and gengetopt generates C code and help text for handling them consistently.

Use it when maintaining C tools with many command-line flags. Generated parsers should still be tested so dangerous options, defaults, and error messages behave as expected.

How to run

gengetopt

Commands: gengetopt

Permissions

Permissions not analysed for this source yet.