From 6f65e668957a50e153cba6822f747d13ad1b40ad Mon Sep 17 00:00:00 2001 From: Ondřej Bílka Date: Thu, 29 Aug 2013 09:08:54 +0200 Subject: Fix typos. --- argp/argp-help.c | 10 +++++----- argp/argp-parse.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'argp') diff --git a/argp/argp-help.c b/argp/argp-help.c index 53702e3dd2..ace71b48c2 100644 --- a/argp/argp-help.c +++ b/argp/argp-help.c @@ -160,7 +160,7 @@ static const struct uparam_name uparam_names[] = }; #define nuparam_names (sizeof (uparam_names) / sizeof (uparam_names[0])) -/* Read user options from the environment, and fill in UPARAMS appropiately. */ +/* Read user options from the environment, and fill in UPARAMS appropriately. */ static void fill_in_uparams (const struct argp_state *state) { @@ -275,11 +275,11 @@ fill_in_uparams (const struct argp_state *state) -xARG, -yARG, --long1=ARG, --long2=ARG Documentation... Where ARG will be omitted if there's no argument, for this option, or - will be surrounded by "[" and "]" appropiately if the argument is - optional. The documentation string is word-wrapped appropiately, and if + will be surrounded by "[" and "]" appropriately if the argument is + optional. The documentation string is word-wrapped appropriately, and if the list of options is long enough, it will be started on a separate line. If there are no short options for a given option, the first long option is - indented slighly in a way that's supposed to make most long options appear + indented slightly in a way that's supposed to make most long options appear to be in a separate column. For example, the following output (from ps): @@ -998,7 +998,7 @@ filter_doc (const char *doc, int key, const struct argp *argp, return doc; } -/* Prints STR as a header line, with the margin lines set appropiately, and +/* Prints STR as a header line, with the margin lines set appropriately, and notes the fact that groups should be separated with a blank line. ARGP is the argp that should dictate any user doc filtering to take place. Note that the previous wrap margin isn't restored, but the left margin is reset diff --git a/argp/argp-parse.c b/argp/argp-parse.c index f68ebab0df..3051be1471 100644 --- a/argp/argp-parse.c +++ b/argp/argp-parse.c @@ -410,7 +410,7 @@ convert_options (const struct argp *argp, return group; } -/* Find the merged set of getopt options, with keys appropiately prefixed. */ +/* Find the merged set of getopt options, with keys appropriately prefixed. */ static void parser_convert (struct parser *parser, const struct argp *argp, int flags) { -- cgit 1.4.1