* argp: Fix spelling in <argp.h>
@ 2020-10-25 23:36 Jonny Grant
0 siblings, 0 replies; only message in thread
From: Jonny Grant @ 2020-10-25 23:36 UTC (permalink / raw)
To: GNU C Library
[-- Attachment #1: Type: text/plain, Size: 78 bytes --]
Hello
Please find attached patch created against latest git.
Regards, Jonny
[-- Attachment #2: 0001-Correct-spelling-mistakes-Hierarchial-preceeding-app.patch --]
[-- Type: text/x-patch, Size: 1819 bytes --]
From bcff490b914387825f18adbf50b63c4959c6a622 Mon Sep 17 00:00:00 2001
From: Jonny Grant <jg@jguk.org>
Date: Sun, 25 Oct 2020 23:34:59 +0000
Subject: [PATCH] Correct spelling mistakes, Hierarchial, preceeding,
appropiate
Signed-off-by: Jonny Grant <jg@jguk.org>
---
argp/argp.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/argp/argp.h b/argp/argp.h
index a5b861a4d3..2cbc4dcb1b 100644
--- a/argp/argp.h
+++ b/argp/argp.h
@@ -1,4 +1,4 @@
-/* Hierarchial argument parsing, layered over getopt.
+/* Hierarchical argument parsing, layered over getopt.
Copyright (C) 1995-2020 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Written by Miles Bader <miles@gnu.ai.mit.edu>.
@@ -233,7 +233,7 @@ struct argp
};
/* Possible KEY arguments to a help filter function. */
-#define ARGP_KEY_HELP_PRE_DOC 0x2000001 /* Help text preceeding options. */
+#define ARGP_KEY_HELP_PRE_DOC 0x2000001 /* Help text preceding options. */
#define ARGP_KEY_HELP_POST_DOC 0x2000002 /* Help text following options. */
#define ARGP_KEY_HELP_HEADER 0x2000003 /* Option header string. */
#define ARGP_KEY_HELP_EXTRA 0x2000004 /* After all other documentation;
@@ -447,7 +447,7 @@ extern void __argp_help (const struct argp *__restrict __argp,
parsing routine (thus taking an argp_state structure as the first
argument). They may or may not print an error message and exit, depending
on the flags in STATE -- in any case, the caller should be prepared for
- them *not* to exit, and should return an appropiate error after calling
+ them *not* to exit, and should return an appropriate error after calling
them. [argp_usage & argp_error should probably be called argp_state_...,
but they're used often enough that they should be short] */
--
2.25.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-25 23:36 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-25 23:36 argp: Fix spelling in <argp.h> Jonny Grant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).