[rwho] fix an example of -n argument

Jan Horak hhorak at fedoraproject.org
Wed Dec 7 14:43:25 UTC 2011


commit 5d418ba7026e102d54e62d8dcc126d510d22066e
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Wed Dec 7 15:43:14 2011 +0100

    fix an example of -n argument

 netkit-rwho-0.17-hostnamelen.patch |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/netkit-rwho-0.17-hostnamelen.patch b/netkit-rwho-0.17-hostnamelen.patch
index 3dc2274..d8846b9 100644
--- a/netkit-rwho-0.17-hostnamelen.patch
+++ b/netkit-rwho-0.17-hostnamelen.patch
@@ -1,11 +1,11 @@
 diff -up netkit-rwho-0.17/ruptime/ruptime.1.hostnamelen netkit-rwho-0.17/ruptime/ruptime.1
 --- netkit-rwho-0.17/ruptime/ruptime.1.hostnamelen	2000-07-31 01:57:06.000000000 +0200
-+++ netkit-rwho-0.17/ruptime/ruptime.1	2011-12-07 15:35:33.952091668 +0100
++++ netkit-rwho-0.17/ruptime/ruptime.1	2011-12-07 15:41:10.009068689 +0100
 @@ -41,6 +41,7 @@
  .Sh SYNOPSIS
  .Nm ruptime
  .Op Fl alrtu
-+.Op Fl n Ar length
++.Op Fl n=length
  .Sh DESCRIPTION
  .Nm Ruptime
  gives a status line like
@@ -13,14 +13,14 @@ diff -up netkit-rwho-0.17/ruptime/ruptime.1.hostnamelen netkit-rwho-0.17/ruptime
  Sort by uptime.
  .It Fl u
  Sort by number of users.
-+.It Fl n
++.It Fl n=length
 +Specify hostname length in output.
  .El
  .Pp
  The default listing is sorted by host name.
 diff -up netkit-rwho-0.17/ruptime/ruptime.c.hostnamelen netkit-rwho-0.17/ruptime/ruptime.c
---- netkit-rwho-0.17/ruptime/ruptime.c.hostnamelen	2011-12-07 15:32:31.076104173 +0100
-+++ netkit-rwho-0.17/ruptime/ruptime.c	2011-12-07 15:32:31.157104168 +0100
+--- netkit-rwho-0.17/ruptime/ruptime.c.hostnamelen	2011-12-07 15:40:54.566069745 +0100
++++ netkit-rwho-0.17/ruptime/ruptime.c	2011-12-07 15:40:54.690069736 +0100
 @@ -66,6 +66,7 @@ struct hs {
  
  #define	ISDOWN(h)	(now - (h)->hs_recvtime > 11 * 60)


More information about the scm-commits mailing list