From owner-cvs-all Thu May 23 7:58:40 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 80E2037B413; Thu, 23 May 2002 07:58:22 -0700 (PDT) Received: (from jmallett@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4NEwM134631; Thu, 23 May 2002 07:58:22 -0700 (PDT) (envelope-from jmallett) Message-Id: <200205231458.g4NEwM134631@freefall.freebsd.org> From: "J. Mallett" Date: Thu, 23 May 2002 07:58:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/help help.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jmallett 2002/05/23 07:58:22 PDT Modified files: usr.bin/help help.c Log: Handle numeric keys by checking a "default" file. Handle number-less keys by failing, since comparing up to the length of the key (0) against the begin line for a key in the help file will always succeed, and print what is wholly bogus output. Revision Changes Path 1.3 +17 -1 src/usr.bin/help/help.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message