chiark
/
gitweb
/
~mdw
/
runlisp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change `-ise' to `-ize' throughout.
[runlisp]
/
mdwopt.c
diff --git
a/mdwopt.c
b/mdwopt.c
index 37d6581d78f71b602cfb797b695ae505bbde75bf..e8e167cbb7e5ddfa4e32cfb8a0cceffff1bdac2c 100644
(file)
--- a/
mdwopt.c
+++ b/
mdwopt.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-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@
*
*
* Options parsing, similar to GNU @getopt_long@
*
@@
-29,8
+29,11
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: mdwopt.c,v $
/*----- 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 ---
*
*
* --- 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.
*
* usually done by using a `%|+|%' instead of a `%|-|%' to
* introduce the option.
*
- * Long options, as populari
s
ed by the GNU utilities, are given
+ * Long options, as populari
z
ed 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.
* 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) {
botched:
if (match == -1) { /* If we couldn't find a match */
if (data->err) {
- fprintf(stderr, "%s: unrecogni
s
ed option `%s%s'\n",
+ fprintf(stderr, "%s: unrecogni
z
ed option `%s%s'\n",
data->prog,
prefix, p);
}
data->prog,
prefix, p);
}