aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2005-09-27 14:34:46 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2005-09-27 14:34:46 +0000
commit3fa4e40ca09c8d8d8d36badbfa18b00360b1313c (patch)
tree23bb655f7ca99b057da686b700b9ceac7dff3566 /src/main.c
parentfed49151fdf1459507da2da185c22940ff5e1934 (diff)
downloadcflow-3fa4e40ca09c8d8d8d36badbfa18b00360b1313c.tar.gz
cflow-3fa4e40ca09c8d8d8d36badbfa18b00360b1313c.tar.bz2
Updated
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/main.c b/src/main.c
index e0c4cdb..93c7ae1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -22,13 +22,13 @@
#include <parser.h>
const char *argp_program_version = "cflow (" PACKAGE_NAME ") " VERSION;
const char *argp_program_bug_address = "<" PACKAGE_BUGREPORT ">";
/* TRANSLATORS: Please, preserve the vertical tabulation (^K character)
in this message */
-static char doc[] = N_("generate a program flowgraph\vThe effect of any option, not taking an argument, can be cancelled by prepending 'no-' to the corresponding long option name (e.g. --no-cpp cancels --cpp)");
+static char doc[] = N_("generate a program flowgraph\v* The effect of each option marked with an asterisk is reversed if the option's long name is prefixed with `no-'. For example, --no-cpp cancels --cpp.");
enum option_code {
OPT_DEFINES = 256,
OPT_LEVEL_INDENT,
OPT_DEBUG,
OPT_PREPROCESS,
@@ -54,13 +54,13 @@ static struct argp_option options[] = {
{ "include", 'i', N_("CLASSES"), 0,
N_("Include specified classes of symbols (see below). Prepend CLASSES with ^ or - to exclude them from the output"), GROUP_ID+1 },
{ "format", 'f', N_("NAME"), 0,
N_("Use given output format NAME. Valid names are `gnu' (default) and `posix'"),
GROUP_ID+1 },
{ "reverse", 'r', NULL, 0,
- N_("Print reverse call tree"), GROUP_ID+1 },
+ N_("* Print reverse call tree"), GROUP_ID+1 },
{ "xref", 'x', NULL, 0,
N_("Produce cross-reference listing only"), GROUP_ID+1 },
{ "print", 'P', N_("OPT"), 0,
N_("Set printing option to OPT. Valid OPT values are: xref (or cross-ref), tree. Any unambiguous abbreviation of the above is also accepted"),
GROUP_ID+1 },
{ "output", 'o', N_("FILE"), 0,
@@ -80,17 +80,17 @@ static struct argp_option options[] = {
#undef GROUP_ID
#define GROUP_ID 10
{ NULL, 0, NULL, 0,
N_("Parser control:"), GROUP_ID },
{ "use-indentation", 'S', NULL, 0,
- N_("Rely on indentation"), GROUP_ID+1 },
+ N_("* Rely on indentation"), GROUP_ID+1 },
{ "no-use-indentation", OPT_NO_USE_INDENTATION, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "ansi", 'a', NULL, 0,
- N_("Accept only sources in ANSI C"), GROUP_ID+1 },
+ N_("* Accept only sources in ANSI C"), GROUP_ID+1 },
{ "no-ansi", OPT_NO_ANSI, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "pushdown", 'p', N_("NUMBER"), 0,
N_("Set initial token stack size to NUMBER"), GROUP_ID+1 },
{ "symbol", 's', N_("SYMBOL:TYPE"), 0,
N_("Register SYMBOL with given TYPE. Valid types are: keyword (or kw), modifier, identifier, type, wrapper. Any unambiguous abbreviation of the above is also accepted"), GROUP_ID+1 },
@@ -100,49 +100,49 @@ static struct argp_option options[] = {
N_("Predefine NAME as a macro"), GROUP_ID+1 },
{ "undefine", 'U', N_("NAME"), 0,
N_("Cancel any previous definition of NAME"), GROUP_ID+1 },
{ "include-dir", 'I', N_("DIR"), 0,
N_("Add the directory DIR to the list of directories to be searched for header files."), GROUP_ID+1 },
{ "preprocess", OPT_PREPROCESS, N_("COMMAND"), OPTION_ARG_OPTIONAL,
- N_("Run the specified preprocessor command"), GROUP_ID+1 },
+ N_("* Run the specified preprocessor command"), GROUP_ID+1 },
{ "cpp", 0, NULL, OPTION_ALIAS, NULL, GROUP_ID+1 },
{ "no-preprocess", OPT_NO_PREPROCESS, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "no-cpp", 0, NULL, OPTION_ALIAS|OPTION_HIDDEN, NULL, GROUP_ID+1 },
#undef GROUP_ID
#define GROUP_ID 20
{ NULL, 0, NULL, 0,
N_("Output control:"), GROUP_ID },
{ "number", 'n', NULL, 0,
- N_("Print line numbers"), GROUP_ID+1 },
+ N_("* Print line numbers"), GROUP_ID+1 },
{ "no-number", OPT_NO_NUMBER, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "print-level", 'l', NULL, 0,
- N_("Print nesting level along with the call tree"), GROUP_ID+1 },
+ N_("* Print nesting level along with the call tree"), GROUP_ID+1 },
{ "no-print-level", OPT_NO_PRINT_LEVEL, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "level-indent", OPT_LEVEL_INDENT, "ELEMENT", 0,
N_("Control graph appearance"), GROUP_ID+1 },
{ "tree", 'T', NULL, 0,
- N_("Draw ASCII art tree"), GROUP_ID+1 },
+ N_("* Draw ASCII art tree"), GROUP_ID+1 },
{ "no-tree", OPT_NO_TREE, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "brief", 'b', NULL, 0,
- N_("Brief output"), GROUP_ID+1 },
+ N_("* Brief output"), GROUP_ID+1 },
{ "no-brief", OPT_NO_BRIEF, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "emacs", OPT_EMACS, NULL, 0,
- N_("Additionally format output for use with GNU Emacs"), GROUP_ID+1 },
+ N_("* Additionally format output for use with GNU Emacs"), GROUP_ID+1 },
{ "no-emacs", OPT_NO_EMACS, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
#undef GROUP_ID
#define GROUP_ID 30
{ NULL, 0, NULL, 0,
N_("Informational options:"), GROUP_ID },
{ "verbose", 'v', NULL, 0,
- N_("Verbose error diagnostics"), GROUP_ID+1 },
+ N_("* Verbose error diagnostics"), GROUP_ID+1 },
{ "no-verbose", OPT_NO_VERBOSE, NULL, OPTION_HIDDEN,
"", GROUP_ID+1 },
{ "license", 'L', 0, 0,
N_("Print license and exit"), GROUP_ID+1 },
{ "debug", OPT_DEBUG, "NUMBER", OPTION_ARG_OPTIONAL,
N_("Set debugging level"), GROUP_ID+1 },

Return to:

Send suggestions and report system problems to the System administrator.