diff options
| author | Xin LI <delphij@FreeBSD.org> | 2011-05-09 18:30:23 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2011-05-09 18:30:23 +0000 |
| commit | ed915d8294a373813108148f47b424e1152e4a5d (patch) | |
| tree | 345f36f8a19a9fdb66be9a0a5676b2c0abc67bae /option.h | |
| parent | f4cb5a505fa28e14d4b01e5c934bcf965a1822b6 (diff) | |
Diffstat (limited to 'option.h')
| -rw-r--r-- | option.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) */ |
