diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-01-29 22:50:17 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2009-01-29 22:50:17 +0000 |
commit | c8719a987f3519e00ca36c98f5e3a6a76e6f62f0 (patch) | |
tree | 1f822ac8797acb50dbfaa3becefdee25acacf06e /usr.sbin/cron/crontab.c | |
parent | 8d54fbaef97a1994a4eb75b04d64c570071fba29 (diff) |
tweak usage()
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r-- | usr.sbin/cron/crontab.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c index 8e5b76ae67d..df8309e3106 100644 --- a/usr.sbin/cron/crontab.c +++ b/usr.sbin/cron/crontab.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crontab.c,v 1.56 2008/05/10 15:11:08 okan Exp $ */ +/* $OpenBSD: crontab.c,v 1.57 2009/01/29 22:50:16 sobrado Exp $ */ /* Copyright 1988,1990,1993,1994 by Paul Vixie * All rights reserved @@ -21,7 +21,7 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -static char const rcsid[] = "$OpenBSD: crontab.c,v 1.56 2008/05/10 15:11:08 okan Exp $"; +static char const rcsid[] = "$OpenBSD: crontab.c,v 1.57 2009/01/29 22:50:16 sobrado Exp $"; /* crontab - install and manage per-user crontab files * vix 02may87 [RCS has the rest of the log] @@ -65,12 +65,13 @@ static int ignore_comments(FILE *); static void usage(const char *msg) { fprintf(stderr, "%s: usage error: %s\n", ProgramName, msg); - fprintf(stderr, "usage:\t%s [-u user] file\n", ProgramName); - fprintf(stderr, "\t%s [ -e | -l | -r ] [-u user]\n", ProgramName); - fprintf(stderr, "\t\t(default operation is replace, per 1003.2)\n"); - fprintf(stderr, "\t-e\t(edit user's crontab)\n"); - fprintf(stderr, "\t-l\t(list user's crontab)\n"); - fprintf(stderr, "\t-r\t(delete user's crontab)\n"); + fprintf(stderr, "usage: %s [-u user] file\n", ProgramName); + fprintf(stderr, " %s [-e | -l | -r] [-u user]\n", ProgramName); + fprintf(stderr, + "\t\t(default operation is replace, per 1003.2)\n" + "\t-e\t(edit user's crontab)\n" + "\t-l\t(list user's crontab)\n" + "\t-r\t(delete user's crontab)\n"); exit(ERROR_EXIT); } |