From owner-cvs-all Wed Nov 15 1: 5:53 2000 Delivered-To: cvs-all@freebsd.org Received: from lists01.iafrica.com (lists01.iafrica.com [196.7.0.141]) by hub.freebsd.org (Postfix) with ESMTP id 3D45237B479; Wed, 15 Nov 2000 01:05:45 -0800 (PST) Received: from nwl.fw.uunet.co.za ([196.31.2.162]) by lists01.iafrica.com with esmtp (Exim 3.12 #2) id 13vyVY-00004C-00; Wed, 15 Nov 2000 11:05:32 +0200 Received: (from nobody@localhost) by nwl.fw.uunet.co.za (8.8.8/8.6.9) id LAA25953; Wed, 15 Nov 2000 11:05:40 +0200 (SAST) Received: by nwl.fw.uunet.co.za via recvmail id 25576; Wed Nov 15 11:04:02 2000 Received: from sheldonh (helo=axl.fw.uunet.co.za) by axl.fw.uunet.co.za with local-esmtp (Exim 3.16 #1) id 13vyU5-0002V0-00; Wed, 15 Nov 2000 11:04:01 +0200 From: Sheldon Hearn To: Ruslan Ermilov Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/usr.sbin Makefile src/usr.sbin/lastlogin Makefile lastlogin.8 lastlogin.c In-reply-to: Your message of "Tue, 14 Nov 2000 09:49:38 PST." <200011141749.JAA83274@freefall.freebsd.org> Date: Wed, 15 Nov 2000 11:04:01 +0200 Message-ID: <9609.974279041@axl.fw.uunet.co.za> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 14 Nov 2000 09:49:38 PST, Ruslan Ermilov wrote: > Modified files: > usr.sbin Makefile > Added files: > usr.sbin/lastlogin Makefile lastlogin.8 lastlogin.c > Log: > Added the lastlogin utility. Hi Ruslan, Could you try to coordinate the acceptance of this patch in NetBSD so that we can apply it without fear? One day, when we have cool tools that do funky thinks with manual pages, inconsistencies between argument names in the SYNOPSIS and the DESCRIPTION will be a problem. Ciao, Sheldon. Index: lastlogin.8 =================================================================== RCS file: /home/ncvs/src/usr.sbin/lastlogin/lastlogin.8,v retrieving revision 1.1 diff -u -d -r1.1 lastlogin.8 --- lastlogin.8 2000/11/14 17:49:38 1.1 +++ lastlogin.8 2000/11/15 09:02:27 @@ -39,18 +39,18 @@ .Nd indicate last login time of users .Sh SYNOPSIS .Nm -.Op user ... +.Op Ar user ... .Sh DESCRIPTION .Nm -will list the last login session of specified -.Ar users , +will list the last login session of each specified +.Ar user , or for all users by default. Each line of output contains the user name, the tty from which the session was conducted, any hostname, and the start time for the session. .Pp -If multiple -.Ar users -are given, the session information for each user is printed in +If more than one +.Ar user +is given, the session information for each user is printed in the order given on the command line. Otherwise, information for all users is printed, sorted by uid. .Pp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message