+
+ /* The documentation name. Used when generating usage and help
+ messages.
+
+ If DOC and DOC_NAME are the empty string (i.e. ""), this option
+ is not listed in usage and help messages.
+
+ If DOC_NAME is a non-empty string then it, insted of OPT.NAME, is
+ listed as the name of the option in usage and help messages.
+
+ For example, given the options --set-pc and --set-sp, then:
+
+ { {"set-pc", no_argument, NULL, OPTION_SET_PC},
+ '\0', NULL, "<<description>>", HANDLER, "--set-REGNAME" },
+ { {"set-sp", no_argument, NULL, OPTION_SET_SP},
+ '\0', NULL, "", HANDLER, "" },
+
+ will list ``--set-REGNAME <<description>>". */
+
+ const char *doc_name;
+