summaryrefslogtreecommitdiff
path: root/apps/gperf
diff options
context:
space:
mode:
authoralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-30 21:10:47 +0000
committeralex <alex@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-06-30 21:10:47 +0000
commita5e655d1d60d72d6c260bc44b15b5db61d3b88d5 (patch)
tree151fab8370fcaf00f631103615363dacbfbff959 /apps/gperf
parentca20fbcfa5cfe1d64de81b60423ee5f55b85c80c (diff)
downloadATCD-a5e655d1d60d72d6c260bc44b15b5db61d3b88d5.tar.gz
*** empty log message ***
Diffstat (limited to 'apps/gperf')
-rw-r--r--apps/gperf/src/Options.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/gperf/src/Options.cpp b/apps/gperf/src/Options.cpp
index e14065c3e72..664f4452ca1 100644
--- a/apps/gperf/src/Options.cpp
+++ b/apps/gperf/src/Options.cpp
@@ -73,7 +73,7 @@ void
Options::usage (void)
{
ACE_ERROR ((LM_ERROR,
- "Usage: %n [-acCdDef[num]gGhH<hashname>i<init>Ijk<keys>K<keyname>lL<language>nN<function name>oOprs<size>S<switches>tTvZ<class name>].\n"
+ "Usage: %n [-acCdDef[num]gGhH<hashname>i<init>IjJk<keys>K<keyname>lL<language>mMnN<function name>oOprs<size>S<switches>tTvZ<class name>].\n"
"(type %n -h for help)\n"));
}
@@ -300,6 +300,7 @@ Options::operator() (int argc, char *argv[])
"\tSetting this value larger helps inflate the size of the final table.\n"
"-j\tAffects the ``jump value,'' i.e., how far to advance the associated\n"
"\tcharacter value upon collisions. Must be an odd number, default is %d.\n"
+ "-J\tSkips '#include <string.h>' part in the output.\n"
"-k\tAllows selection of the key positions used in the hash function.\n"
"\tThe allowable choices range between 1-%d, inclusive. The positions\n"
"\tare separated by commas, ranges may be used, and key positions may\n"
@@ -311,6 +312,9 @@ Options::operator() (int argc, char *argv[])
"\tcut down on the number of string comparisons made during the lookup.\n"
"-L\tGenerates code in the language specified by the option's argument. Languages\n"
"\thandled are currently C++ and C. The default is C.\n"
+ "-m\tAvoids the warning about identical hash values. This is valid\n"
+ "\tonlyif the -D option is enabled.\n"
+ "-MSkips class definition in the output. This is valid only in C++ mode.\n"
"-n\tDo not include the length of the keyword when computing the hash function\n"
"-N\tAllow user to specify name of generated lookup function. Default\n"
"\tname is `in_word_set.'\n"