#include const char *argp_program_version = "foo"; const char *argp_program_bug_address = "foo@example.org"; static const struct argp_option options[] = { { "system", 's', "SYSTEM", 0, "assume SYSTEM as the current system type" }, { 0, 0, 0, 0, 0 } }; static const struct argp argp = { options, NULL, NULL, "doc", NULL, NULL, NULL }; int main (int argc, char *argv[]) { argp_parse (&argp, argc, argv, 0, 0, 0); return 0; }