summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-01-29 12:31:42 +0000
committerBruno Haible <bruno@clisp.org>2003-01-29 12:31:42 +0000
commit3aff1fd64fdbf04ec108e989e342a66f353892c5 (patch)
tree89ca9babfe35db2bdfe49921bb1e31e4a3d05f37 /src
parentf54d310530bf4e5c66deefe1ffe0b21f35a72162 (diff)
downloadgperf-3aff1fd64fdbf04ec108e989e342a66f353892c5.tar.gz
Slightly reorganize command line options help.
Diffstat (limited to 'src')
-rw-r--r--src/options.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/options.cc b/src/options.cc
index aed4af2..dd901ed 100644
--- a/src/options.cc
+++ b/src/options.cc
@@ -138,6 +138,11 @@ Options::long_usage (FILE * stream) const
fprintf (stream,
" -7, --seven-bit Assume 7-bit characters.\n");
fprintf (stream,
+ " -l, --compare-strlen Compare key lengths before trying a string\n"
+ " comparison. This is necessary if the keywords\n"
+ " contain NUL bytes. It also helps cut down on the\n"
+ " number of string comparisons made during the lookup.\n");
+ fprintf (stream,
" -c, --compare-strncmp Generate comparison code using strncmp rather than\n"
" strcmp.\n");
fprintf (stream,
@@ -188,10 +193,6 @@ Options::long_usage (FILE * stream) const
" $,1,2,4,6-10.\n",
Positions::MAX_KEY_POS);
fprintf (stream,
- " -l, --compare-strlen Compare key lengths before trying a string\n"
- " comparison. This helps cut down on the number of\n"
- " string comparisons made during the lookup.\n");
- fprintf (stream,
" -D, --duplicates Handle keywords that hash to duplicate values. This\n"
" is useful for certain highly redundant keyword sets.\n");
fprintf (stream,