aboutsummaryrefslogtreecommitdiff
path: root/argp
diff options
context:
space:
mode:
Diffstat (limited to 'argp')
-rw-r--r--argp/argp-help.c4
-rw-r--r--argp/argp.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/argp/argp-help.c b/argp/argp-help.c
index 5ab6aa7863..560fe5237f 100644
--- a/argp/argp-help.c
+++ b/argp/argp-help.c
@@ -357,7 +357,7 @@ struct hol_cluster
const char *header;
/* Used to order clusters within the same group with the same parent,
- according to the order in which they occured in the parent argp's child
+ according to the order in which they occurred in the parent argp's child
list. */
int index;
@@ -1419,7 +1419,7 @@ argp_args_usage (const struct argp *argp, const struct argp_state *state,
following the `\v' character (nothing for strings without). Each separate
bit of documentation is separated a blank line, and if PRE_BLANK is true,
then the first is as well. If FIRST_ONLY is true, only the first
- occurance is output. Returns true if anything was output. */
+ occurrence is output. Returns true if anything was output. */
static int
argp_doc (const struct argp *argp, const struct argp_state *state,
int post, int pre_blank, int first_only,
diff --git a/argp/argp.h b/argp/argp.h
index 0d40572963..ee59d259d0 100644
--- a/argp/argp.h
+++ b/argp/argp.h
@@ -184,7 +184,7 @@ typedef error_t (*argp_parser_t) (int key, char *arg,
argp's, and perhaps a function to filter help output. When actually
parsing options, getopt is called with the union of all the argp
structures chained together through their CHILD pointers, with conflicts
- being resolved in favor of the first occurance in the chain. */
+ being resolved in favor of the first occurrence in the chain. */
struct argp
{
/* An array of argp_option structures, terminated by an entry with both