diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 23:59:04 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2007-02-18 23:59:04 +0000 |
commit | f10d03c3d16eea599ecbd395c2e357f90833f729 (patch) | |
tree | e08b898c0a167fb0907217c1d977107e3932e582 /usr.sbin | |
parent | bc0d194e29c7a9ce8ab3a3a8dfaa3dd82faa30d3 (diff) |
tidy up synopsis and usage();
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/cron/cron.8 | 13 | ||||
-rw-r--r-- | usr.sbin/cron/cron.c | 6 |
2 files changed, 13 insertions, 6 deletions
diff --git a/usr.sbin/cron/cron.8 b/usr.sbin/cron/cron.8 index ed25d1a0426..cf39eda89f5 100644 --- a/usr.sbin/cron/cron.8 +++ b/usr.sbin/cron/cron.8 @@ -17,7 +17,7 @@ .\" Agency (DARPA) and Air Force Research Laboratory, Air Force .\" Materiel Command, USAF, under agreement number F39502-99-1-0512. .\" -.\" $OpenBSD: cron.8,v 1.27 2005/11/30 11:18:28 jmc Exp $ +.\" $OpenBSD: cron.8,v 1.28 2007/02/18 23:59:03 jmc Exp $ .\" .Dd July 6, 2002 .Dt CRON 8 @@ -27,9 +27,16 @@ .Nd clock daemon .Sh SYNOPSIS .Nm cron -.Op Fl l Ar load_avg .Op Fl n -.Op Fl x Ar [ext,sch,proc,pars,load,misc,test] +.Op Fl l Ar load_avg +.Oo +.Fl x +.Sm off +.Oo Ar ext , sch , proc , +.Ar pars , load , misc , test +.Oc +.Sm on +.Oc .Sh DESCRIPTION The .Nm diff --git a/usr.sbin/cron/cron.c b/usr.sbin/cron/cron.c index e7b9082793e..b30058e583a 100644 --- a/usr.sbin/cron/cron.c +++ b/usr.sbin/cron/cron.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cron.c,v 1.38 2005/11/15 07:02:37 miod Exp $ */ +/* $OpenBSD: cron.c,v 1.39 2007/02/18 23:59:03 jmc Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved @@ -22,7 +22,7 @@ */ #if !defined(lint) && !defined(LINT) -static const char rcsid[] = "$OpenBSD: cron.c,v 1.38 2005/11/15 07:02:37 miod Exp $"; +static const char rcsid[] = "$OpenBSD: cron.c,v 1.39 2007/02/18 23:59:03 jmc Exp $"; #endif #define MAIN_PROGRAM @@ -55,7 +55,7 @@ usage(void) { const char **dflags; #endif - fprintf(stderr, "usage: %s [-l load_avg] [-n] [-x [", ProgramName); + fprintf(stderr, "usage: %s [-n] [-l load_avg] [-x [", ProgramName); #if DEBUGGING for (dflags = DebugFlagNames; *dflags; dflags++) fprintf(stderr, "%s%s", *dflags, dflags[1] ? "," : "]"); |