Date: Sat, 1 Mar 2003 15:09:26 -0800 (PST) From: Juli Mallett <jmallett@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ruptime ruptime.1 ruptime.c Message-ID: <200303012309.h21N9Qsn059626@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jmallett 2003/03/01 15:09:26 PST
FreeBSD src repository
Modified files:
usr.bin/ruptime ruptime.1 ruptime.c
Log:
Add functionality to only list hosts specified on the command line. If none
are specified the old behaviour is old. The submitted applied a much cleaner
diff to ruptime.c, however it did not cover cases like listing failures. It
would probably be a good idea to move the printing from the ruptime function,
and have that function just be used to build the list, as that would unbreak
sorting, but this diff is intended to be clear, relative to the original
code. As the sort order is the order specified on the command line, for now,
such is documented in the manual page accordingly.
Submitted by: Edward J. M. Blocklesby <ejb@lythe.org.uk>
MFC after: 3 weeks
Revision Changes Path
1.14 +8 -0 src/usr.bin/ruptime/ruptime.1
1.16 +93 -67 src/usr.bin/ruptime/ruptime.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303012309.h21N9Qsn059626>
