[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

documentation/1555: Document bug on last(1)




>Number:         1555
>Category:       documentation
>Synopsis:       Documentation of -d opton in last(1) is wrong.
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    bugs
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 11 19:50:02 MST 2000
>Last-Modified:
>Originator:     SUZUKI Hitoshi
>Organization:
sigh@net.nagasaki-u.ac.jp
sigh@kuzirabekon.econ.nagasaki-u.ac.jp
Faculty of Economics, Nagasaki Univ.
>Release:        -current
>Environment:
	System      : OpenBSD 2.8
	Architecture: OpenBSD.i386
	Machine     : i386
>Description:
	The documentation of -d option in last(1) accepts -d mm,
	but, it is not acceptable.
>How-To-Repeat:
>Fix:
Patch is enclosed.
--- /usr/src/usr.bin/last/last.1.orig	Fri Nov 10 09:46:02 2000
+++ /usr/src/usr.bin/last/last.1	Tue Dec 12 11:32:00 2000
@@ -47,7 +47,7 @@
 .Op Fl f Ar file
 .Op Fl h Ar host
 .Op Fl t Ar tty
-.Op Fl d Ar [[yy]yy[mm[dd[hh]]]]mm[.ss]
+.Op Fl d Ar [[CC]YY][MMDD]hhmm[.SS]
 .Op Ar user ...
 .Sh DESCRIPTION
 The

>Audit-Trail:
>Unformatted: