From owner-cvs-all Sat Mar 1 15: 9:29 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F021B37B401; Sat, 1 Mar 2003 15:09:26 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A4DF143FA3; Sat, 1 Mar 2003 15:09:26 -0800 (PST) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h21N9Q0U059627; Sat, 1 Mar 2003 15:09:26 -0800 (PST) (envelope-from jmallett@repoman.freebsd.org) Received: (from jmallett@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h21N9Qsn059626; Sat, 1 Mar 2003 15:09:26 -0800 (PST) Message-Id: <200303012309.h21N9Qsn059626@repoman.freebsd.org> From: Juli Mallett Date: Sat, 1 Mar 2003 15:09:26 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ruptime ruptime.1 ruptime.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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-all" in the body of the message