]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/test/run-usage.c
opt: allow parameter names in arguments.
[ccan] / ccan / opt / test / run-usage.c
index 821403444df7da6e207260ed54b3049265cfed25..943fcf6da38e6efb5e3097af46f997a3d228a486 100644 (file)
@@ -32,7 +32,7 @@ int main(int argc, char *argv[])
        ok1(strstr(output, " Description of b (default: b)\n"));
        ok1(strstr(output, "--ddd "));
        ok1(strstr(output, " Description of ddd\n"));
-       ok1(strstr(output, "--eee <arg> "));
+       ok1(strstr(output, "--eee <filename> "));
        ok1(strstr(output, " (default: eee)\n"));
        ok1(strstr(output, "long table options:\n"));
        ok1(strstr(output, "--ggg/-g "));