Commit 641d492d authored by Andreas Schlick's avatar Andreas Schlick Committed by Rusty Russell

opt: Correct the separator in _info's example.

parent fee8416f
......@@ -17,13 +17,13 @@
* static char *somestring;
*
* static struct opt_table opts[] = {
* OPT_WITHOUT_ARG("--verbose/-v", opt_inc_intval, &verbose,
* OPT_WITHOUT_ARG("--verbose|-v", opt_inc_intval, &verbose,
* "Verbose mode (can be specified more than once)"),
* OPT_WITHOUT_ARG("--someflag", opt_set_bool, &someflag,
* "Set someflag"),
* OPT_WITH_ARG("--somefile=<filename>", opt_set_charp, opt_show_charp,
* &somestring, "Set somefile to <filename>"),
* OPT_WITHOUT_ARG("--usage/--help/-h", opt_usage_and_exit,
* OPT_WITHOUT_ARG("--usage|--help|-h", opt_usage_and_exit,
* "args...\nA silly test program.",
* "Print this message."),
* OPT_ENDTABLE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment