diff liboctave/prog-args.h @ 1855:cdc5b74cc261

[project @ 1996-02-03 14:48:32 by jwe]
author jwe
date Sat, 03 Feb 1996 14:49:43 +0000
parents 747a99cbe1b0
children 1b57120c997b
line wrap: on
line diff
--- a/liboctave/prog-args.h	Sat Feb 03 14:33:41 1996 +0000
+++ b/liboctave/prog-args.h	Sat Feb 03 14:49:43 1996 +0000
@@ -38,6 +38,14 @@
 {
 public:
 
+  // These values must match the corresponding defines in getopt.h.
+  enum option_argument
+    {
+      no_arg = 0,
+      required_arg = 1,
+      optional_arg = 2
+    };
+
   prog_args (int argc, char *const *argv, const char *s_opts, const
 	     long_options* l_opts = 0)
     : xargc (argc), xargv (argv), short_opts (s_opts), long_opts (l_opts)