]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
Add commentary to ensure that the modal enumeration matches
authorAndreas Jaeger <aj@suse.de>
Sat, 12 May 2001 16:02:48 +0000 (16:02 +0000)
committerBruce Korb <bkorb@gnu.org>
Sat, 12 May 2001 16:02:48 +0000 (16:02 +0000)
the indexes defined in the definition files

exe/ltopts.def

index 00e153a0a839713b9ad304e3553c2ea94a68e91e..1a6ef93cb96606d1d741c500040276038060fbfa 100644 (file)
@@ -56,10 +56,24 @@ flag = {
     arg_name  = mode;
     settable;
     descrip   = "ltmain's operational mode";
-    keyword   = clean, compile, execute, finish, install, link, uninstall,
-                echo;
+
+    /*
+     *  BEWARE:  these *must* enumerate to the values #define-d in the
+     *           lt_*.def files!!
+     */
+    keyword   =    /* 0 -> UNDEFINED */
+        clean,     /* 1 */
+        compile,   /* 2 */
+        execute,   /* 3 */
+        finish,    /* 4 */
+        install,   /* 5 */
+        link,      /* 6 */
+        uninstall, /* 7 */
+        echo;      /* 8 */
     doc =
-    "";
+    "This enumerates all of the libtool operational modes.\n"
+    "If this option is not specified, then this program tries to infer\n"
+    "it from the command name or the name of the file being operated on.";
 };
 
 flag = {