reduce verbosity in usage and make it match SYNOPSIS;
authorjmc <jmc@openbsd.org>
Tue, 22 Jun 2021 20:12:17 +0000 (20:12 +0000)
committerjmc <jmc@openbsd.org>
Tue, 22 Jun 2021 20:12:17 +0000 (20:12 +0000)
ok millert

usr.sbin/cron/crontab.c

index 9e352f8..52c2d57 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: crontab.c,v 1.94 2020/02/11 12:42:02 schwarze Exp $   */
+/*     $OpenBSD: crontab.c,v 1.95 2021/06/22 20:12:17 jmc Exp $        */
 
 /* Copyright 1988,1990,1993,1994 by Paul Vixie
  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -70,11 +70,7 @@ usage(const char *msg)
                warnx("usage error: %s", msg);
        fprintf(stderr, "usage: %s [-u user] file\n", __progname);
        fprintf(stderr, "       %s [-e | -l | -r] [-u user]\n", __progname);
-       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(EXIT_FAILURE);
 }