Module Name: src
Committed By: simonb
Date: Wed Apr 7 14:45:28 UTC 2021
Modified Files:
src/sbin/modstat: main.c
Log Message:
Update usage message to reflect reality.
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sbin/modstat/main.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/modstat/main.c
diff -u src/sbin/modstat/main.c:1.25 src/sbin/modstat/main.c:1.26
--- src/sbin/modstat/main.c:1.25 Sun Jan 27 02:08:36 2019
+++ src/sbin/modstat/main.c Wed Apr 7 14:45:28 2021
@@ -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 @@ static void
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);
}