Subject: bin/5441: [dM] less -d descriptions switched
To: None <gnats-bugs@gnats.netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: netbsd-bugs
Date: 05/11/1998 10:04:32
>Number:         5441
>Category:       bin
>Synopsis:       [dM] less -d descriptions switched
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 11 07:05:00 1998
>Last-Modified:
>Originator:     der Mouse
>Organization:
	Dis-
>Release:        1.3E
>Environment:
Any using usr.bin/less/less/opttbl.c,v 1.4:
/*      $NetBSD: opttbl.c,v 1.4 1998/02/22 14:57:31 christos Exp $      */

>Description:
	The descriptions of the -d option in less are switched.
>How-To-Repeat:
	Start less.  Type "-d" a few times and notice that the
	description printed is backwards from what's actually done.
>Fix:
	I've restrained myself here; this patch just switches the
	descriptions.

--- OLD/usr.bin/less/less/opttbl.c	Thu Jan  1 00:00:00 1970
+++ NEW/usr.bin/less/less/opttbl.c	Thu Jan  1 00:00:00 1970
@@ -92,8 +92,8 @@
 	},
 #if 1
 	{ 'd', BOOL, OPT_OFF, &be_helpful, NULL,
-		{ "Be helpful in prompts",
-		"Be less helpful in prompts", 
+		{ "Be less helpful in prompts",
+		"Be helpful in prompts", 
 		NULL }
 	},
 #else

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B
>Audit-Trail:
>Unformatted: