summaryrefslogtreecommitdiff
path: root/option.h
diff options
context:
space:
mode:
Diffstat (limited to 'option.h')
-rw-r--r--option.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/option.h b/option.h
index c393ed4b2c87..a32139eea66a 100644
--- a/option.h
+++ b/option.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 1984-2009 Mark Nudelman
+ * Copyright (C) 1984-2011 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
@@ -27,6 +27,8 @@
#define OTYPE (BOOL|TRIPLE|NUMBER|STRING|NOVAR)
+#define OLETTER_NONE '\1' /* Invalid option letter */
+
/*
* Argument to a handling function tells what type of activity:
*/
@@ -50,6 +52,8 @@ struct optname
struct optname *onext; /* List of synonymous option names */
};
+#define OPTNAME_MAX 32 /* Max length of long option name */
+
struct loption
{
char oletter; /* The controlling letter (a-z) */