Source-Changes-HG archive

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

[src/trunk]: src/sbin/modstat Update usage message to reflect reality.



details:   https://anonhg.NetBSD.org/src/rev/15fdb00afb12
branches:  trunk
changeset: 954404:15fdb00afb12
user:      simonb <simonb%NetBSD.org@localhost>
date:      Wed Apr 07 14:45:28 2021 +0000

description:
Update usage message to reflect reality.

diffstat:

 sbin/modstat/main.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r f8d5efee029e -r 15fdb00afb12 sbin/modstat/main.c
--- a/sbin/modstat/main.c       Wed Apr 07 14:27:39 2021 +0000
+++ b/sbin/modstat/main.c       Wed Apr 07 14:45:28 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.25 2019/01/27 02:08:36 pgoyette Exp $       */
+/*     $NetBSD: main.c,v 1.26 2021/04/07 14:45:28 simonb Exp $ */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main.c,v 1.25 2019/01/27 02:08:36 pgoyette Exp $");
+__RCSID("$NetBSD: main.c,v 1.26 2021/04/07 14:45:28 simonb Exp $");
 #endif /* !lint */
 
 #include <sys/module.h>
@@ -239,7 +239,8 @@
 usage(void)
 {
 
-       (void)fprintf(stderr, "Usage: %s [-Aaen] [name]\n", getprogname());
+       (void)fprintf(stderr, "Usage: %s [-Aaek] [-n name | name]\n",
+           getprogname());
        exit(EXIT_FAILURE);
 }
 



Home | Main Index | Thread Index | Old Index