Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/renice renice: Make usage match man page more.



details:   https://anonhg.NetBSD.org/src/rev/9490024a310b
branches:  trunk
changeset: 941520:9490024a310b
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Oct 23 16:16:10 2020 +0000

description:
renice: Make usage match man page more.

diffstat:

 usr.bin/renice/renice.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 725f86b270ae -r 9490024a310b usr.bin/renice/renice.c
--- a/usr.bin/renice/renice.c   Fri Oct 23 16:14:40 2020 +0000
+++ b/usr.bin/renice/renice.c   Fri Oct 23 16:16:10 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: renice.c,v 1.19 2020/10/22 19:34:12 dholland Exp $     */
+/*     $NetBSD: renice.c,v 1.20 2020/10/23 16:16:10 wiz Exp $  */
 
 /*
  * Copyright (c) 1983, 1989, 1993
@@ -37,7 +37,7 @@
 
 #ifndef lint
 /*static char sccsid[] = "from: @(#)renice.c   8.1 (Berkeley) 6/9/93";*/
-__RCSID("$NetBSD: renice.c,v 1.19 2020/10/22 19:34:12 dholland Exp $");
+__RCSID("$NetBSD: renice.c,v 1.20 2020/10/23 16:16:10 wiz Exp $");
 #endif /* not lint */
 
 #include <sys/resource.h>
@@ -175,7 +175,6 @@
 
        (void)fprintf(stderr, "Usage: %s [<priority> | -n <incr>] ",
            getprogname());
-       (void)fprintf(stderr, "[[-p] <pids>...] [-g <pgrp>...] ");
-       (void)fprintf(stderr, "[-u <user>...]\n");
+       (void)fprintf(stderr, "[[-gpu] who ...] ...\n");
        exit(1);
 }



Home | Main Index | Thread Index | Old Index