=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/option.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- src/usr.bin/less/option.h 2003/04/13 18:26:26 1.3 +++ src/usr.bin/less/option.h 2011/09/16 18:12:09 1.4 @@ -1,5 +1,5 @@ /* - * Copyright (C) 1984-2002 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: */ @@ -49,6 +51,8 @@ char *oname; /* Long (GNU-style) option name */ struct optname *onext; /* List of synonymous option names */ }; + +#define OPTNAME_MAX 32 /* Max length of long option name */ struct loption {