1 |
|
/* |
2 |
< |
* Copyright (C) 1984-2009 Mark Nudelman |
2 |
> |
* Copyright (C) 1984-2012 Mark Nudelman |
3 |
|
* |
4 |
|
* You may distribute under the terms of either the GNU General Public |
5 |
|
* License or the Less License, as specified in the README file. |
6 |
|
* |
7 |
< |
* For more information about less, or for information on how to |
8 |
< |
* contact the author, see the README file. |
7 |
> |
* For more information, see the README file. |
8 |
|
*/ |
9 |
|
|
10 |
|
|
26 |
|
|
27 |
|
#define OTYPE (BOOL|TRIPLE|NUMBER|STRING|NOVAR) |
28 |
|
|
29 |
+ |
#define OLETTER_NONE '\1' /* Invalid option letter */ |
30 |
+ |
|
31 |
|
/* |
32 |
|
* Argument to a handling function tells what type of activity: |
33 |
|
*/ |
50 |
|
char *oname; /* Long (GNU-style) option name */ |
51 |
|
struct optname *onext; /* List of synonymous option names */ |
52 |
|
}; |
53 |
+ |
|
54 |
+ |
#define OPTNAME_MAX 32 /* Max length of long option name */ |
55 |
|
|
56 |
|
struct loption |
57 |
|
{ |