From 3e8aea05784959a63cdb609d248f8266b03b56a6 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Thu, 7 Oct 2010 14:42:20 +1030 Subject: [PATCH] opt: fix example to compile. --- ccan/opt/_info | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ccan/opt/_info b/ccan/opt/_info index da87838c..c45b7f28 100644 --- a/ccan/opt/_info +++ b/ccan/opt/_info @@ -17,15 +17,15 @@ * static char *somestring; * * static struct opt_table opts[] = { - * { 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, - * "args...\nA silly test program.", - * "Print this message.") }, + * 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, + * "args...\nA silly test program.", + * "Print this message."), * OPT_ENDTABLE * }; * -- 2.39.2