From owner-freebsd-bugs Tue Oct 3 14:50: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1130F37B503 for ; Tue, 3 Oct 2000 14:50:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id OAA17200; Tue, 3 Oct 2000 14:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from athserv.otenet.gr (athserv.otenet.gr [195.170.0.1]) by hub.freebsd.org (Postfix) with ESMTP id E947137B503 for ; Tue, 3 Oct 2000 14:48:06 -0700 (PDT) Received: from hades.hell.gr (patr530-b052.otenet.gr [195.167.121.180]) by athserv.otenet.gr (8.10.1/8.10.1) with ESMTP id e93Lkod05268 for ; Wed, 4 Oct 2000 00:46:51 +0300 (EET DST) Received: (from charon@localhost) by hades.hell.gr (8.11.0/8.11.0) id e93LlAl04340; Wed, 4 Oct 2000 00:47:10 +0300 (EEST) Message-Id: <200010032147.e93LlAl04340@hades.hell.gr> Date: Wed, 4 Oct 2000 00:47:10 +0300 (EEST) From: Giorgos Keramidas To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/21734: calendar(1) usage message correction Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21734 >Category: bin >Synopsis: Correction to calendar(1) usage message >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 03 14:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Giorgos Keramidas >Release: FreeBSD 4.1-STABLE i386 >Organization: >Environment: % uname -a FreeBSD hades.hell.gr 4.1-STABLE FreeBSD 4.1-STABLE #0: Tue Sep 26 02:30:46 EEST 2000 root@hades.hell.gr:/usr/src/sys/compile/HADES i386 >Description: The manpage of calendar(1) describes the -t option, but the usage message that is printed when the command is used with an invalid option does not include the description of -t. >How-To-Repeat: % man calendar [ look for description of -t option ] % calendar -h calendar: illegal option -- h usage: calendar [-a] [-A days] [-B days] [-f calendarfile] >Fix: The following small patch corrects this. diff -r -u -N /usr/src/usr.bin/calendar/calendar.c calendar/calendar.c --- /usr/src/usr.bin/calendar/calendar.c Sat Aug 26 05:50:59 2000 +++ calendar/calendar.c Tue Oct 3 23:32:17 2000 @@ -135,7 +135,7 @@ usage() { (void)fprintf(stderr, - "usage: calendar [-a] [-A days] [-B days] [-f calendarfile]\n"); + "usage: calendar [-a] [-A days] [-B days] [-f calendarfile] [-t dd[.mm[.year]]]\n"); exit(1); } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message