| Summary: | Correction to calendar(1) usage message | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Giorgos Keramidas <keramida> | ||||
| Component: | bin | Assignee: | alex <alex> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | 4.1-STABLE | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
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 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. State Changed From-To: open->closed Committed, thanks. |
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]