/* -*-c-*-
*
- * $Id: mdwopt.c,v 1.1 1999/05/05 19:23:47 mdw Exp $
+ * $Id: mdwopt.c,v 1.4 1999/05/15 10:25:38 mdw Exp $
*
* Options parsing, similar to GNU @getopt_long@
*
- * (c) 1996 Mark Wooding
+ * (c) 1996 Straylight/Edgeware
*/
/*----- Licensing notice --------------------------------------------------*
* 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.4 1999/05/15 10:25:38 mdw
+ * Fix copyright information.
+ *
+ * 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 ---
*
* 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.
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);
}