]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/test/utils.c
opt: allow parameter names in arguments.
[ccan] / ccan / opt / test / utils.c
index 6870af741b188034a5a5337ae3de66c880189d71..bafb67438247a6d381747731231fefaa3d9b6b4b 100644 (file)
@@ -78,7 +78,7 @@ struct opt_table short_table[] = {
 struct opt_table long_table[] = {
        /* Long opts, different args. */
        { OPT_WITHOUT_ARG("--ddd", test_noarg, "ddd"), "Description of ddd" },
-       { OPT_WITH_ARG("--eee", test_arg, show_arg, "eee"), },
+       { OPT_WITH_ARG("--eee <filename>", test_arg, show_arg, "eee"), },
        OPT_ENDTABLE
 };