From: Andreas Jaeger Date: Sat, 12 May 2001 16:02:48 +0000 (+0000) Subject: Add commentary to ensure that the modal enumeration matches X-Git-Tag: binary-mlb~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=20c9ecd89f154c37227da5ce1de51b3cc21b9202;p=thirdparty%2Flibtool.git Add commentary to ensure that the modal enumeration matches the indexes defined in the definition files --- diff --git a/exe/ltopts.def b/exe/ltopts.def index 00e153a0a..1a6ef93cb 100644 --- a/exe/ltopts.def +++ b/exe/ltopts.def @@ -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 = {