summaryrefslogtreecommitdiffstats
path: root/contrib/less/opttbl.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2011-05-09 21:51:59 +0000
committerdelphij <delphij@FreeBSD.org>2011-05-09 21:51:59 +0000
commit142a49a4be37258477d8ce2b19011a75c36bd418 (patch)
treee6e6402d1f7ea7e3382a94b4f654586f41b93f2c /contrib/less/opttbl.c
parent39f7e10a268694e139c11157f966ca179b834212 (diff)
downloadFreeBSD-src-142a49a4be37258477d8ce2b19011a75c36bd418.zip
FreeBSD-src-142a49a4be37258477d8ce2b19011a75c36bd418.tar.gz
MFV: Update to less v443.
MFC after: 1 month
Diffstat (limited to 'contrib/less/opttbl.c')
-rw-r--r--contrib/less/opttbl.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/contrib/less/opttbl.c b/contrib/less/opttbl.c
index c96b333..d1c60a2 100644
--- a/contrib/less/opttbl.c
+++ b/contrib/less/opttbl.c
@@ -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.
@@ -133,11 +133,11 @@ static struct optname follow_optname = { "follow-name", NULL };
static struct loption option[] =
{
{ 'a', &a_optname,
- BOOL, OPT_OFF, &how_search, NULL,
+ TRIPLE, OPT_ONPLUS, &how_search, NULL,
{
"Search includes displayed screen",
"Search skips displayed screen",
- NULL
+ "Search includes all of displayed screen"
}
},
@@ -237,7 +237,7 @@ static struct loption option[] =
STRING, 0, NULL, opt_j,
{
"Target line: ",
- "0123456789.",
+ "0123456789.-",
NULL
}
},
@@ -427,7 +427,7 @@ static struct loption option[] =
NULL
}
},
- { '.', &keypad_optname,
+ { OLETTER_NONE, &keypad_optname,
BOOL|NO_TOGGLE, OPT_OFF, &no_keypad, NULL,
{
"Use keypad mode",
@@ -435,7 +435,7 @@ static struct loption option[] =
NULL
}
},
- { '.', &oldbot_optname,
+ { OLETTER_NONE, &oldbot_optname,
BOOL, OPT_OFF, &oldbot, NULL,
{
"Use new bottom of screen behavior",
@@ -443,11 +443,11 @@ static struct loption option[] =
NULL
}
},
- { '.', &follow_optname,
+ { OLETTER_NONE, &follow_optname,
BOOL, FOLLOW_DESC, &follow_mode, NULL,
{
- "F command Follows file descriptor",
- "F command Follows file name",
+ "F command follows file descriptor",
+ "F command follows file name",
NULL
}
},
OpenPOWER on IntegriCloud