[26708] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25704 - trunk/athena/bin/desync

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon Aug 6 13:15:36 2012

Date: Mon, 6 Aug 2012 13:15:27 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201208061715.q76HFRbh015691@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-08-06 13:15:27 -0400 (Mon, 06 Aug 2012)
New Revision: 25704

Modified:
   trunk/athena/bin/desync/desync.1
   trunk/athena/bin/desync/desync.c
Log:
Fix usage in program and man page

Modified: trunk/athena/bin/desync/desync.1
===================================================================
--- trunk/athena/bin/desync/desync.1	2012-08-06 13:12:38 UTC (rev 25703)
+++ trunk/athena/bin/desync/desync.1	2012-08-06 17:15:27 UTC (rev 25704)
@@ -23,10 +23,8 @@
 .B \-t
 timefile ] [ range ]
 
-.B desync 
-[ 
-.B \-c 
-hours ] [ range ] [ other arguments ]
+.B desync -c
+hours [ range ] [ other arguments ]
 .SH DESCRIPTION
 .I desync
 is a tool which sleeps a random (hostname seeded) period of time (up

Modified: trunk/athena/bin/desync/desync.c
===================================================================
--- trunk/athena/bin/desync/desync.c	2012-08-06 13:12:38 UTC (rev 25703)
+++ trunk/athena/bin/desync/desync.c	2012-08-06 17:15:27 UTC (rev 25704)
@@ -234,6 +234,6 @@
 static void usage()
 {
   fprintf(stderr,
-	  "Usage: %s [-h name] [-n] [-t timefile] [range]\n       %s [-c hour] [range] [crontab arguments]\n",
+	  "Usage: %s [-h name] [-n] [-t timefile] [range]\n       %s -c hour [range] [crontab arguments]\n",
 	  progname, progname);
 }


home help back first fref pref prev next nref lref last post