summaryrefslogtreecommitdiff
path: root/argp
diff options
context:
space:
mode:
authorOndřej Bílka <neleai@seznam.cz>2013-08-29 09:08:54 +0200
committerOndřej Bílka <neleai@seznam.cz>2013-08-29 09:11:45 +0200
commit6f65e668957a50e153cba6822f747d13ad1b40ad (patch)
treedec30aa85e57419ac1eafffeab8548c973cac02f /argp
parentd0721e703d222c01a9e8c329311c4fb01dac6972 (diff)
Fix typos.
Diffstat (limited to 'argp')
-rw-r--r--argp/argp-help.c10
-rw-r--r--argp/argp-parse.c2
2 files changed, 6 insertions, 6 deletions
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)
{