From 641d492d77d4248d4dac1e38635498b4e438fa7b Mon Sep 17 00:00:00 2001 From: Andreas Schlick Date: Thu, 17 Feb 2011 22:50:07 +0100 Subject: [PATCH 1/1] opt: Correct the separator in _info's example. --- ccan/opt/_info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccan/opt/_info b/ccan/opt/_info index a0518324..a464e951 100644 --- a/ccan/opt/_info +++ b/ccan/opt/_info @@ -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=", opt_set_charp, opt_show_charp, * &somestring, "Set somefile to "), - * 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 -- 2.39.2