no_argument
if (long_options[match].has_arg == no_argument
{ "create", no_argument, NULL, 'c' },
{ "hidden", no_argument, NULL, 'g' },
{ "info", no_argument, NULL, 'i' },
{ "protect-hidden", no_argument, NULL, 'e' },
{ "prompt-passphrase", no_argument, NULL, 'p' },
{ "allow-trim", no_argument, NULL, 't' },
{ "fde", no_argument, NULL, FLAG_LONG_FDE },
{ "use-backup", no_argument, NULL, FLAG_LONG_USE_BACKUP },
{ "modify", no_argument, NULL, FLAG_LONG_MOD },
{ "restore-from-backup-hdr", no_argument, NULL, FLAG_LONG_MOD_NONE },
{ "version", no_argument, NULL, 'v' },
{ "weak-keys", no_argument, NULL, 'w' },
{ "insecure-erase", no_argument, NULL, 'z' },
{ "help", no_argument, NULL, 'h' },
{ "no-retries", no_argument, NULL, FLAG_LONG_NO_RETRIES },
{ "batch-mode", no_argument, NULL, 'q' },
{"verbose", no_argument, NULL, 'l'},
{"silent", no_argument, NULL, 's'},
{"quiet", no_argument, NULL, 's'},
{NULL, no_argument, NULL, 0}
{ "text", no_argument, 0, 'a' },
{ "ignore-space-change", no_argument, 0, 'b' },
{ "minimal", no_argument, 0, 'd' },
{ "ed", no_argument, 0, 'e' },
{ "forward-ed", no_argument, 0, 'f' },
{ "ignore-case", no_argument, 0, 'i' },
{ "new-file", no_argument, 0, 'N' },
{ "rcs", no_argument, 0, 'n' },
{ "unidirectional-new-file", no_argument, 0, 'P' },
{ "show-c-function", no_argument, 0, 'p' },
{ "brief", no_argument, 0, 'q' },
{ "recursive", no_argument, 0, 'r' },
{ "report-identical-files", no_argument, 0, 's' },
{ "expand-tabs", no_argument, 0, 't' },
{ "initial-tab", no_argument, 0, 'T' },
{ "ignore-all-space", no_argument, 0, 'w' },
{ "one-file", no_argument, NULL, '1' },
{ "ipv4-only", no_argument, NULL, '4' },
{ "ipv6-only", no_argument, NULL, '6' },
{ "no-redirect", no_argument, NULL, 'A' },
{ "retry", no_argument, NULL, 'a' },
{ "direct", no_argument, NULL, 'd' },
{ "force-restart", no_argument, NULL, 'F' },
{ "symlink", no_argument, NULL, 'l' },
{ "mirror", no_argument, NULL, 'm' },
{ "no-mtime", no_argument, NULL, 'n' },
{ "passive", no_argument, NULL, 'p' },
{ "quiet", no_argument, NULL, 'q' },
{ "keep-output", no_argument, NULL, 'R' },
{ "restart", no_argument, NULL, 'r' },
{ "print-size", no_argument, NULL, 's' },
{ "passive-portrange-default", no_argument, NULL, 'T' },
{ "verbose", no_argument, NULL, 'v' },
{ "no-passive", no_argument, NULL, OPTION_NO_FTP_PASSIVE_MODE },
{ "no-sslv3", no_argument, NULL, OPTION_SSL_NO_SSL3 },
{ "no-tlsv1", no_argument, NULL, OPTION_SSL_NO_TLS1 },
{ "no-verify-hostname", no_argument, NULL, OPTION_SSL_NO_VERIFY_HOSTNAME },
{ "no-verify-peer", no_argument, NULL, OPTION_SSL_NO_VERIFY_PEER },
{ "stdout", no_argument, 0, 'c' },
{ "to-stdout", no_argument, 0, 'c' },
{ "decompress", no_argument, 0, 'd' },
{ "uncompress", no_argument, 0, 'd' },
{ "force", no_argument, 0, 'f' },
{ "help", no_argument, 0, 'h' },
{ "keep", no_argument, 0, 'k' },
{ "list", no_argument, 0, 'l' },
{ "no-name", no_argument, 0, 'n' },
{ "name", no_argument, 0, 'N' },
{ "quiet", no_argument, 0, 'q' },
{ "recursive", no_argument, 0, 'r' },
{ "test", no_argument, 0, 't' },
{ "verbose", no_argument, 0, 'v' },
{ "version", no_argument, 0, 'V' },
{ "fast", no_argument, 0, '1' },
{ "best", no_argument, 0, '9' },
{ "ascii", no_argument, 0, 'a' },
{ "license", no_argument, 0, 'L' },
{ NULL, no_argument, 0, 0 },
{"list", no_argument, NULL, 'l'},
{"silent", no_argument, NULL, 's'},
{NULL, no_argument, NULL, 0}
{ "alternative",no_argument, NULL, 'a' },
{ "alphanum", no_argument, NULL, 'd' },
{ "ignore-case",no_argument, NULL, 'i' },
{"backup", no_argument, 0, 'b'},
{"batch", no_argument, 0, 't'},
{"check", no_argument, 0, 'C'},
{"context", no_argument, 0, 'c'},
{"dry-run", no_argument, 0, 'C'},
{"ed", no_argument, 0, 'e'},
{"force", no_argument, 0, 'f'},
{"forward", no_argument, 0, 'N'},
{"ignore-whitespace", no_argument, 0, 'l'},
{"normal", no_argument, 0, 'n'},
{"quiet", no_argument, 0, 's'},
{"remove-empty-files", no_argument, 0, 'E'},
{"reverse", no_argument, 0, 'R'},
{"silent", no_argument, 0, 's'},
{"unified", no_argument, 0, 'u'},
{"version", no_argument, 0, 'v'},
{"posix", no_argument, &posix, 1},
{ "strip-trailing-cr", no_argument, NULL, STRIPCR_OPT },
{ "help", no_argument, NULL, HELP_OPT },
{ "text", no_argument, NULL, 'a' },
{ "ignore-blank-lines", no_argument, NULL, 'B' },
{ "ignore-space-change", no_argument, NULL, 'b' },
{ "minimal", no_argument, NULL, 'd' },
{ "ignore-tab-expansion", no_argument, NULL, 'E' },
{ "ignore-case", no_argument, NULL, 'i' },
{ "left-column", no_argument, NULL, 'l' },
{ "expand-tabs", no_argument, NULL, 't' },
{ "speed-large-files", no_argument, NULL, 'H' },
{ "ignore-all-space", no_argument, NULL, 'W' },
{ "suppress-common-lines", no_argument, NULL, 's' },
{ "ignore-file-name-case", no_argument, NULL, FCASE_IGNORE_OPT },
{ "no-ignore-file-name-case", no_argument, NULL, FCASE_SENSITIVE_OPT },
{ "debug", no_argument, NULL, DEBUG_OPT },
{ "dictionary-order", no_argument, NULL, 'd' },
{ "general-numeric-sort", no_argument, NULL, 'g' },
{ "heapsort", no_argument, NULL, HEAPSORT_OPT },
{ "help",no_argument, NULL, HELP_OPT },
{ "human-numeric-sort", no_argument, NULL, 'h' },
{ "ignore-leading-blanks", no_argument, NULL, 'b' },
{ "ignore-case", no_argument, NULL, 'f' },
{ "ignore-nonprinting", no_argument, NULL, 'i' },
{ "merge", no_argument, NULL, 'm' },
{ "mergesort", no_argument, NULL, MERGESORT_OPT },
{ "mmap", no_argument, NULL, MMAP_OPT },
{ "month-sort", no_argument, NULL, 'M' },
{ "numeric-sort", no_argument, NULL, 'n' },
{ "qsort", no_argument, NULL, QSORT_OPT },
{ "radixsort", no_argument, NULL, RADIXSORT_OPT },
{ "random-sort", no_argument, NULL, 'R' },
{ "reverse", no_argument, NULL, 'r' },
{ "stable", no_argument, NULL, 's' },
{ "unique", no_argument, NULL, 'u' },
{ "version", no_argument, NULL, VERSION_OPT },
{ "version-sort",no_argument, NULL, 'V' },
{ "zero-terminated", no_argument, NULL, 'z' },
{ NULL, no_argument, NULL, 0 }
{ "foreground", no_argument, NULL, 'f' },
{ "help", no_argument, NULL, 'h' },
{ "preserve-status", no_argument, NULL, 'p' },
{ "verbose", no_argument, NULL, 'v' },
{ "color", no_argument, NULL, 'C' },
{ "debug", no_argument, NULL, 'D' },
{ "system-procs", no_argument, NULL, 'S' },
{ "idle-procs", no_argument, NULL, 'I' },
{ "tag-names", no_argument, NULL, 'T' },
{ "all", no_argument, NULL, 'a' },
{ "batch", no_argument, NULL, 'b' },
{ "full-commands", no_argument, NULL, 'c' },
{ "interactive", no_argument, NULL, 'i' },
{ "quick", no_argument, NULL, 'q' },
{ "threads", no_argument, NULL, 't' },
{ "uids", no_argument, NULL, 'u' },
{ "version", no_argument, NULL, 'v' },
{"exit", no_argument, NULL, 'x'},
{"interactive", no_argument, NULL, 'p'},
{"no-run-if-empty", no_argument, NULL, 'r'},
{"null", no_argument, NULL, '0'},
{"verbose", no_argument, NULL, 't'},
{NULL, no_argument, NULL, 0},
{"create", no_argument, NULL, 'c'},
{"deactivate", no_argument, NULL, 'A'},
{"del-timeout", no_argument, NULL, 'T'},
{"delete", no_argument, NULL, 'B'},
{"delete-bootnext", no_argument, NULL, 'N'},
{"device-path", no_argument, NULL, 'd'},
{"dry-run", no_argument, NULL, 'D'},
{"esp", no_argument, NULL, 'E'},
{"fw-ui", no_argument, NULL, 'f'},
{"no-fw-ui", no_argument, NULL, 'F'},
{"help", no_argument, NULL, 'h'},
{"once", no_argument, NULL, 'O'},
{"unix-path", no_argument, NULL, 'p'},
{"verbose", no_argument, NULL, 'v'},
{"activate", no_argument, NULL, 'a'},
{"bootnext", no_argument, NULL, 'n'}, /* set bootnext */
{ "to-unix", no_argument, NULL, 'u' },
{ "to-efi", no_argument, NULL, 'e' },
{ "format", no_argument, NULL, 'f' },
{ "parse", no_argument, NULL, 'p' },
{ "append", no_argument, NULL, 'a' },
{ "ascii", no_argument, NULL, 'A' },
{ "binary", no_argument, NULL, 'b' },
{ "delete", no_argument, NULL, 'D' },
{ "device", no_argument, NULL, 'd' },
{ "device-path", no_argument, NULL, 'd' },
{ "guid", no_argument, NULL, 'g' },
{ "hex", no_argument, NULL, 'H' },
{ "list-guids", no_argument, NULL, 'L' },
{ "list", no_argument, NULL, 'l' },
{ "load-option", no_argument, NULL, 'O' },
{ "no-name", no_argument, NULL, 'N' },
{ "print", no_argument, NULL, 'p' },
{ "print-decimal", no_argument, NULL, 'd' },
{ "raw-guid", no_argument, NULL, 'R' },
{ "utf8", no_argument, NULL, 'u' },
{ "write", no_argument, NULL, 'w' },