From 70f692472602e01f7b5aeac477b343197a9e13df Mon Sep 17 00:00:00 2001 From: mdw Date: Thu, 19 Aug 1999 18:35:10 +0000 Subject: [PATCH] Add a couple more flag constants. --- mdwopt.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mdwopt.h b/mdwopt.h index c0c7d8a..02e84ab 100644 --- 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 */ }; -- 2.11.0