diff options
| author | Jim Blandy | 1993-07-18 06:12:49 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-18 06:12:49 +0000 |
| commit | 52cc7c59b551f526786313b011841e45c0bd849a (patch) | |
| tree | ebbc7eff49c3c34de46798a16e5ba0654833999b /lib-src | |
| parent | 6ec1f458d9e4f1015e53ce68a44fac5232cc70e8 (diff) | |
| download | emacs-52cc7c59b551f526786313b011841e45c0bd849a.tar.gz emacs-52cc7c59b551f526786313b011841e45c0bd849a.zip | |
* etags.c (print_help): Break up the very long strings containing
the help message into shorter strings, to placate chintzy C
compilers which can't handle strings that long.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/etags.c | 39 |
1 files changed, 19 insertions, 20 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c index 4276c59d8a9..f27ca983b8b 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -441,14 +441,13 @@ print_help () | |||
| 441 | printf ("These are the options accepted by %s. You may use unambiguous\n\ | 441 | printf ("These are the options accepted by %s. You may use unambiguous\n\ |
| 442 | abbreviations for the long option names.\n\n", progname); | 442 | abbreviations for the long option names.\n\n", progname); |
| 443 | 443 | ||
| 444 | fputs ("\ | 444 | puts ("-a, --append\n\ |
| 445 | -a, --append\n\ | 445 | Append tag entries to existing tags file."); |
| 446 | Append tag entries to existing tags file.\n\ | 446 | puts ("-C, --c++\n\ |
| 447 | -C, --c++\n\ | ||
| 448 | Treat files with `.c' and `.h' extensions as C++ code, not C\n\ | 447 | Treat files with `.c' and `.h' extensions as C++ code, not C\n\ |
| 449 | code. Files with `.C', `.H', `.cxx', `.hxx', or `.cc'\n\ | 448 | code. Files with `.C', `.H', `.cxx', `.hxx', or `.cc'\n\ |
| 450 | extensions are always assumed to be C++ code.\n\ | 449 | extensions are always assumed to be C++ code."); |
| 451 | -d, --defines\n\ | 450 | fputs ("-d, --defines\n\ |
| 452 | Create tag entries for #defines, too.", stdout); | 451 | Create tag entries for #defines, too.", stdout); |
| 453 | 452 | ||
| 454 | #ifdef ETAGS | 453 | #ifdef ETAGS |
| @@ -472,11 +471,11 @@ abbreviations for the long option names.\n\n", progname); | |||
| 472 | Don't rely on indentation quite as much as normal. Currently,\n\ | 471 | Don't rely on indentation quite as much as normal. Currently,\n\ |
| 473 | this means not to assume that a closing brace in the first\n\ | 472 | this means not to assume that a closing brace in the first\n\ |
| 474 | column is the final brace of a function or structure\n\ | 473 | column is the final brace of a function or structure\n\ |
| 475 | definition.\n\ | 474 | definition."); |
| 476 | -t, --typedefs\n\ | 475 | puts ("-t, --typedefs\n\ |
| 477 | Generate tag entries for typedefs. This is the default\n\ | 476 | Generate tag entries for typedefs. This is the default\n\ |
| 478 | behavior.\n\ | 477 | behavior."); |
| 479 | -T, --typedefs-and-c++\n\ | 478 | puts ("-T, --typedefs-and-c++\n\ |
| 480 | Generate tag entries for typedefs, struct/enum/union tags, and\n\ | 479 | Generate tag entries for typedefs, struct/enum/union tags, and\n\ |
| 481 | C++ member functions."); | 480 | C++ member functions."); |
| 482 | 481 | ||
| @@ -490,27 +489,27 @@ abbreviations for the long option names.\n\n", progname); | |||
| 490 | #ifdef CTAGS | 489 | #ifdef CTAGS |
| 491 | puts ("-B, --backward-search\n\ | 490 | puts ("-B, --backward-search\n\ |
| 492 | Write the search commands for the tag entries using '?', the\n\ | 491 | Write the search commands for the tag entries using '?', the\n\ |
| 493 | backward-search command.\n\ | 492 | backward-search command."); |
| 494 | -F, --forward-search\n\ | 493 | puts ("-F, --forward-search\n\ |
| 495 | Write the search commands for the tag entries using '/', the\n\ | 494 | Write the search commands for the tag entries using '/', the\n\ |
| 496 | forward-search command.\n\ | 495 | forward-search command."); |
| 497 | -u, --update\n\ | 496 | puts ("-u, --update\n\ |
| 498 | Update the tag entries for the given files, leaving tag\n\ | 497 | Update the tag entries for the given files, leaving tag\n\ |
| 499 | entries for other files in place. Currently, this is\n\ | 498 | entries for other files in place. Currently, this is\n\ |
| 500 | implemented by deleting the existing entries for the given\n\ | 499 | implemented by deleting the existing entries for the given\n\ |
| 501 | files and then rewriting the new entries at the end of the\n\ | 500 | files and then rewriting the new entries at the end of the\n\ |
| 502 | tags file. It is often faster to simply rebuild the entire\n\ | 501 | tags file. It is often faster to simply rebuild the entire\n\ |
| 503 | tag file than to use this.\n\ | 502 | tag file than to use this."); |
| 504 | -v, --vgrind\n\ | 503 | puts ("-v, --vgrind\n\ |
| 505 | Generates an index of items intended for human consumption,\n\ | 504 | Generates an index of items intended for human consumption,\n\ |
| 506 | similar to the output of vgrind. The index is sorted, and\n\ | 505 | similar to the output of vgrind. The index is sorted, and\n\ |
| 507 | gives the page number of each item.\n\ | 506 | gives the page number of each item."); |
| 508 | -x, --cxref\n\ | 507 | puts ("-x, --cxref\n\ |
| 509 | Like --vgrind, but in the style of cxref, rather than vgrind.\n\ | 508 | Like --vgrind, but in the style of cxref, rather than vgrind.\n\ |
| 510 | The output uses line numbers instead of page numbers, but\n\ | 509 | The output uses line numbers instead of page numbers, but\n\ |
| 511 | beyond that the differences are cosmetic; try both to see\n\ | 510 | beyond that the differences are cosmetic; try both to see\n\ |
| 512 | which you like.\n\ | 511 | which you like."); |
| 513 | -w, --no-warn\n\ | 512 | puts ("-w, --no-warn\n\ |
| 514 | Suppress warning messages about entries defined in multiple\n\ | 513 | Suppress warning messages about entries defined in multiple\n\ |
| 515 | files."); | 514 | files."); |
| 516 | #endif | 515 | #endif |