summaryrefslogtreecommitdiff
path: root/trans/crash.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-27 14:53:15 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-11-27 14:53:15 +0000
commit3aeee385fdfa1ef0b230e56671655d3bfd9b7061 (patch)
tree1d900812b88f3feab28d7de5e0eefa58ef519f63 /trans/crash.c
parent41be4398578c5da3df158a12599925e43d39c6ff (diff)
2006-11-27 Thomas Schwinge <tschwinge@gnu.org>
* crash.c: Correct the usage of the argp documentation string.
Diffstat (limited to 'trans/crash.c')
-rw-r--r--trans/crash.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/trans/crash.c b/trans/crash.c
index 7d04a160..493554a7 100644
--- a/trans/crash.c
+++ b/trans/crash.c
@@ -1,5 +1,8 @@
/* GNU Hurd standard crash dump server.
- Copyright (C) 1995,96,97,99,2000,01,02 Free Software Foundation, Inc.
+
+ Copyright (C) 1995, 1996, 1997, 1999, 2000, 2001, 2002, 2006
+ Free Software Foundation, Inc.
+
Written by Roland McGrath.
This file is part of the GNU Hurd.
@@ -444,11 +447,11 @@ static const struct argp_option options[] =
{"dump-core", 0, 0, OPTION_ALIAS },
{0}
};
-static const char doc[] = "\
-Server to handle crashing tasks and dump core files or equivalent.\v\
-The ACTION values can be `suspend', `kill', or `core-file'.\n\
-If --orphan-action is not specified, the --action value is used for orphans.\
-The default is `--action=suspend --orphan-action=core-file'.";
+static const char doc[] =
+"Server to handle crashing tasks and dump core files or equivalent.\v"
+"The ACTION values can be `suspend', `kill', or `core-file'.\n\n"
+"If `--orphan-action' is not specified, the `--action' value is used for "
+"orphans. The default is `--action=suspend --orphan-action=core-file'.";
static error_t
parse_opt (int opt, char *arg, struct argp_state *state)
@@ -516,7 +519,7 @@ trivfs_append_args (struct trivfs_control *fsys,
return argz_add (argz, argz_len, opt);
}
-struct argp crash_argp = { options, parse_opt, doc, 0 };
+struct argp crash_argp = { options, parse_opt, 0, doc };
struct argp *trivfs_runtime_argp = &crash_argp;