=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/less/opttbl.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- src/usr.bin/less/opttbl.c 2003/04/13 18:26:26 1.6 +++ src/usr.bin/less/opttbl.c 2003/04/14 14:33:57 1.7 @@ -36,6 +36,7 @@ public int caseless; /* Do "caseless" searches */ public int linenums; /* Use line numbers */ public int autobuf; /* Automatically allocate buffers as needed */ +public int nohelp; /* Disable the HELP command */ public int bufspace; /* Max buffer space per file (K) */ public int ctldisp; /* Send control chars to screen untranslated */ public int force_open; /* Open the file even if not regular file */ @@ -213,6 +214,14 @@ { "Backwards scroll limit: ", "Backwards scroll limit is %d lines", + NULL + } + }, + { 'H', NULL, + BOOL|NO_TOGGLE, OPT_OFF, &nohelp, NULL, + { + "Allow help command", + "Don't allow help command", NULL } },