Bug 21734

Summary: Correction to calendar(1) usage message
Product: Base System Reporter: Giorgos Keramidas <keramida>
Component: binAssignee: alex <alex>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Giorgos Keramidas 2000-10-03 22:50:00 UTC
        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.

Fix: The following small patch corrects this.
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]
Comment 1 k 2000-10-04 19:35:20 UTC
Hi
Actually the man page should be updated to list the option 
in alphabetic order as well.

--- src/usr.bin/calendar/calendar.1.old	Wed Oct  4 20:29:57 2000
+++ src/usr.bin/calendar/calendar.1	Wed Oct  4 20:25:29 2000
@@ -43,12 +43,12 @@
 .Op Fl a
 .Op Fl A Ar num
 .Op Fl B Ar num
+.Op Fl f Ar calendarfile
 .Oo Fl t Ar dd
 .Sm off
 .Op . Ar mm Op . Ar year
 .Sm on
 .Oc
-.Op Fl f Ar calendarfile
 .Sh DESCRIPTION
 .Nm Calendar
 checks the current directory for a file named




/Johan K
Comment 2 Johan Karlsson freebsd_committer freebsd_triage 2000-10-05 22:43:46 UTC
Responsible Changed
From-To: freebsd-bugs->alex

Hi Alexander 
Is it ok if I assign PRs with patches which I think are commit 
candidates to you? :-) 
This PR is a more or less a doc bug and I have seen that you 
have closed a few of these.
Comment 3 alex freebsd_committer freebsd_triage 2000-10-06 13:11:36 UTC
State Changed
From-To: open->closed

Committed, thanks.