X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fopt%2F_info;h=103962069b6b4c813fe45fbe2a02006e72128a77;hp=9bcf5393d5dbcd8b3623958267181f278bbd198d;hb=HEAD;hpb=8fc7a90a8db345c4276419d11f8731afc63f65f5 diff --git a/ccan/opt/_info b/ccan/opt/_info index 9bcf5393..10396206 100644 --- a/ccan/opt/_info +++ b/ccan/opt/_info @@ -1,12 +1,15 @@ +#include "config.h" #include #include -#include "config.h" /** * opt - simple command line parsing * * Simple but powerful command line parsing. * + * See Also: + * ccan/autodata + * * Example: * #include * #include @@ -49,7 +52,7 @@ * return 0; * } * - * License: GPL (v3 or any later version) + * License: GPL (v2 or any later version) * Author: Rusty Russell */ int main(int argc, char *argv[]) @@ -58,8 +61,9 @@ int main(int argc, char *argv[]) return 1; if (strcmp(argv[1], "depends") == 0) { - printf("ccan/typesafe_cb\n"); + printf("ccan/cast\n"); printf("ccan/compiler\n"); + printf("ccan/typesafe_cb\n"); return 0; }