X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargp.h;h=c0c68a61e74af32f65dcdf045357db05a9690a20;hb=8aa4d66e12c2b2cec1ed9792868f14724af2828c;hp=f9f266e3e1da105c674a5abdd9021ead7c36a146;hpb=51e801f2f297e45a24004ee6256dd1a6c7389074;p=gnulib.git diff --git a/lib/argp.h b/lib/argp.h index f9f266e3e..c0c68a61e 100644 --- a/lib/argp.h +++ b/lib/argp.h @@ -1,4 +1,4 @@ -/* Hierarchial argument parsing, layered over getopt. +/* Hierarchical argument parsing, layered over getopt. Copyright (C) 1995-1999, 2003-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Written by Miles Bader . @@ -278,7 +278,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; @@ -506,7 +506,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] */