X-Git-Url: https://git.distorted.org.uk/~mdw/runlisp/blobdiff_plain/b91e23910ae2f433757880fa1c7e7b4a66c586e6..4033d96b919968a9205f5e4b8e5d38ea6fe1e390:/mdwopt.c diff --git a/mdwopt.c b/mdwopt.c index 37d6581..54fca61 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.3 1999/05/14 18:51:42 mdw Exp $ * * Options parsing, similar to GNU @getopt_long@ * @@ -22,15 +22,22 @@ * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public - * License along with `mdwopt'; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * License along with `mdwopt'; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. */ /*----- Revision history --------------------------------------------------* * * $Log: mdwopt.c,v $ - * Revision 1.1 1999/05/05 19:23:47 mdw - * Initial revision + * Revision 1.3 1999/05/14 18:51:42 mdw + * Reformat the LGPL notice slightly. + * + * 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 +260,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 +659,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); }