opt: list ccan/typesafe_cb as a dependency.
[ccan] / ccan / opt / _info
index da87838c1842721b85b6fb5e1caf63fa1210ad0f..5e177a10e296766219dc8b36564e714a740ab030 100644 (file)
  * 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=<filename>", opt_set_charp, opt_show_charp,
- *       &somestring, "Set somefile to <filename>") },
- *     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=<filename>", opt_set_charp, opt_show_charp,
+ *                  &somestring, "Set somefile to <filename>"),
+ *     OPT_WITHOUT_ARG("--usage/--help/-h", opt_usage_and_exit,
+ *                     "args...\nA silly test program.",
+ *                     "Print this message."),
  *     OPT_ENDTABLE
  * };
  * 
@@ -58,6 +58,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/typesafe_cb\n");
                return 0;
        }