summaryrefslogtreecommitdiff
path: root/usr.bin/renice
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-20 01:13:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-12-20 01:13:34 +0000
commitc043377c1673bf121370ae94cbffbd49228d747d (patch)
treec9c65b3897d4172d83b3cc462012339ff62ac3ee /usr.bin/renice
parent95855a9c2bb1b0162c99d05b2def53eef4288b64 (diff)
fix usage
Diffstat (limited to 'usr.bin/renice')
-rw-r--r--usr.bin/renice/renice.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/renice/renice.c b/usr.bin/renice/renice.c
index 54a53455ab3..1ca684b6c7c 100644
--- a/usr.bin/renice/renice.c
+++ b/usr.bin/renice/renice.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: renice.c,v 1.3 1997/06/20 10:02:31 deraadt Exp $ */
+/* $OpenBSD: renice.c,v 1.4 1998/12/20 01:13:33 deraadt Exp $ */
/*
* Copyright (c) 1983 The Regents of the University of California.
@@ -41,7 +41,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)renice.c 5.3 (Berkeley) 6/1/90";*/
-static char rcsid[] = "$OpenBSD: renice.c,v 1.3 1997/06/20 10:02:31 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: renice.c,v 1.4 1998/12/20 01:13:33 deraadt Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -67,8 +67,8 @@ main(argc, argv)
argc--, argv++;
if (argc < 2) {
- fprintf(stderr, "usage: renice priority [ [ -p ] pids ] ");
- fprintf(stderr, "[ [ -g ] pgrps ] [ [ -u ] users ]\n");
+ fprintf(stderr, "usage: renice priority [[-p] pid ...] ");
+ fprintf(stderr, "[[-g] pgrp ...] [[-u] user ...]\n");
exit(1);
}
prio = atoi(*argv);