Commit Graph

30 Commits

Author SHA1 Message Date
jmmv b635f565e7 Homogenize usage messages: make the 'usage' word all lowercase, as this seems
to be the most common practice in our tree.
2004-01-05 23:23:32 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
itojun ab3a8ded53 use bounded string op/asprintf 2003-07-14 12:02:00 +00:00
wiz 31b27aaae4 Fix typo in error message. 2003-07-07 11:42:13 +00:00
wiz 2bc4fd781d Sync usage with options; sort option string; handle N instead of
non-existing U option.
2003-03-03 07:18:37 +00:00
wiz 5f20c96d59 Bump date. Sort options, sort SEE ALSO. 2003-03-03 07:17:35 +00:00
matt 1800f61318 #undef TYPE(a) is not legal. Change to #undef TYPE /*(a)*/ 2003-02-28 05:49:42 +00:00
christos 8475773db1 Add wtmpx support. 2003-02-17 15:08:57 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
simonb 28ef2fe1b7 Include -T in the synopsis. 2001-08-21 23:55:25 +00:00
simonb a04cd254e0 Fix botch in previous - include the day of the month in the output!
Noticed by Geoff Wing.
2000-06-30 06:19:58 +00:00
simonb 40ca17538d Extend the -T option show that it shows the year as well as seconds.
Also print the full time on interrupt and exit, regardless of the
-T setting.  Replace all uses of asctime()/ctime() and magic number
offsets within their return strings with strftime().

Fixes PR bin/5311 from Geoff Wing and much more.
2000-06-25 13:44:42 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
christos 6e0fa105be Avoid bogus warnings produced by gcc-2.8.1 where it wants field widths to be
ints and copmplains if they are unsigned ints!
1998-12-19 17:38:39 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
lukem 511567046a fix up .Nm usage 1997-10-19 03:44:30 +00:00
lukem ca15d8c056 don't define WARNS=1 here 1997-10-19 03:44:21 +00:00
thorpej a436ba4f68 Change an instance of a time_t to a (more appropriate) off_t, PR #4037,
enami tsugutomo.
1997-08-26 18:52:13 +00:00
kleink e021da65e2 * Fix compiler warnings
* Style: lseek(2) L_SET vs. SEEK_SET; getopt(3) EOF vs. -1
1997-08-24 13:57:54 +00:00
perry c0274208c2 add -T option to display seconds, from jhawk in pr-1548 1997-07-17 02:36:55 +00:00
cgd d098389111 be more careful with time_t's 1994-12-24 16:49:02 +00:00
jtc f73d94654f Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-21 22:41:22 +00:00
cgd 67f7468b24 bad cast 1994-04-01 03:32:38 +00:00
cgd ef1fafa7b4 another lseek extern! 1994-03-28 07:26:41 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00