Date: Wed, 4 Oct 2000 00:47:10 +0300 (EEST) From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/21734: calendar(1) usage message correction Message-ID: <200010032147.e93LlAl04340@hades.hell.gr>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010032147.e93LlAl04340>