Add a couple more flag constants.
[cfd] / mdwopt.h
index c0c7d8a..02e84ab 100644 (file)
--- a/mdwopt.h
+++ b/mdwopt.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mdwopt.h,v 1.6 1999/05/20 23:00:30 mdw Exp $
+ * $Id: mdwopt.h,v 1.7 1999/08/19 18:35:10 mdw Exp $
  *
  * Options parsing, similar to GNU @getopt_long@
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------*
  *
  * $Log: mdwopt.h,v $
+ * Revision 1.7  1999/08/19 18:35:10  mdw
+ * Add a couple more flag constants.
+ *
  * Revision 1.6  1999/05/20 23:00:30  mdw
  * Carry through changes to the interface properly in the documentation.
  * Other little formatting things.
@@ -147,8 +150,10 @@ enum {
 /* --- New style flag names --- */
 
 enum {
+  OPTF_NOARG = 0                       /* No argument */
   OPTF_ARGREQ = 1,                     /* Required argument */
   OPTF_ARGOPT = 2,                     /* Optional argument */
+  OPTF_ARG = 3,                                /* Argument type bitmask */
   OPTF_SWITCH = 4,                     /* OR val into flag, don't store */
   OPTF_NEGATE = 8                      /* Allow long option to be negated */
 };