X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/67760e2530ce42189dc91613c34589627ff78f2a..5b59e2273110cd2173669a3fcf519de3c956ac36:/mdwopt.c diff --git a/mdwopt.c b/mdwopt.c index 37d6581..e8e167c 100644 --- a/mdwopt.c +++ b/mdwopt.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mdwopt.c,v 1.1 1999/05/05 19:23:47 mdw Exp $ + * $Id: mdwopt.c,v 1.2 1999/05/13 22:57:23 mdw Exp $ * * Options parsing, similar to GNU @getopt_long@ * @@ -29,8 +29,11 @@ /*----- Revision history --------------------------------------------------* * * $Log: mdwopt.c,v $ - * Revision 1.1 1999/05/05 19:23:47 mdw - * Initial revision + * Revision 1.2 1999/05/13 22:57:23 mdw + * Change `-ise' to `-ize' throughout. + * + * Revision 1.1.1.1 1999/05/05 19:23:47 mdw + * New import. The old CVS repository was lost in a disk disaster. * * --- Previous lives --- * @@ -253,7 +256,7 @@ static const char *mo__findOpt(int o, const char *shortopt, * usually done by using a `%|+|%' instead of a `%|-|%' to * introduce the option. * - * Long options, as popularised by the GNU utilities, are given + * Long options, as popularized by the GNU utilities, are given * long-ish memorable names, preceded by a double-dash `%|--|%'. * Since their names are more than a single character, long * options can't be combined in the same way as short options. @@ -652,7 +655,7 @@ int mdwopt(int argc, char *const *argv, botched: if (match == -1) { /* If we couldn't find a match */ if (data->err) { - fprintf(stderr, "%s: unrecognised option `%s%s'\n", + fprintf(stderr, "%s: unrecognized option `%s%s'\n", data->prog, prefix, p); }