]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/_info
ccan: Correct some poor conventions in _info includes
[ccan] / ccan / opt / _info
index a464e951e058a1686cdd522281191e70cdfcc8e5..103962069b6b4c813fe45fbe2a02006e72128a77 100644 (file)
@@ -1,12 +1,15 @@
+#include "config.h"
 #include <stdio.h>
 #include <string.h>
-#include "config.h"
 
 /**
  * opt - simple command line parsing
  *
  * Simple but powerful command line parsing.
  *
+ * See Also:
+ *     ccan/autodata
+ *
  * Example:
  * #include <ccan/opt/opt.h>
  * #include <stdio.h>
@@ -49,7 +52,7 @@
  *     return 0;
  * }
  *
- * License: GPL (3 or any later version)
+ * License: GPL (v2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 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;
        }