Module Name:    src
Committed By:   lukem
Date:           Sat Jan  8 23:04:11 UTC 2022

Modified Files:
        src/usr.sbin/postinstall: postinstall.in

Log Message:
postinstall: add -? to usage


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/usr.sbin/postinstall/postinstall.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.47 src/usr.sbin/postinstall/postinstall.in:1.48
--- src/usr.sbin/postinstall/postinstall.in:1.47	Sat Jan  8 06:58:40 2022
+++ src/usr.sbin/postinstall/postinstall.in	Sat Jan  8 23:04:11 2022
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall.in,v 1.47 2022/01/08 06:58:40 lukem Exp $
+# $NetBSD: postinstall.in,v 1.48 2022/01/08 23:04:11 lukem Exp $
 #
 # Copyright (c) 2002-2022 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -2549,6 +2549,7 @@ Usage: ${PROGNAME} [-a ARCH] [-d DEST_DI
 	If no items are provided, a default set of checks or fixes is applied.
 
 	Options:
+	-?		Display this help, and exit.
 	-a ARCH		\$MACHINE_ARCH.			[${MACHINE_ARCH}]
 	-d DEST_DIR	Destination directory to check. [${DEST_DIR:-/}]
 	-m MACHINE	\$MACHINE.			[${MACHINE}]
@@ -2566,14 +2567,14 @@ Usage: ${PROGNAME} [-a ARCH] [-d DEST_DI
 							[${XSRC_DIR:-/usr/src/../xsrc}]
 
 	Supported values for OPERATION:
-	help		Display this help.
+	help		Display this help, and exit.
 	list		List available items.
 	check ITEM ...	Perform post-installation checks on ITEMs.
 	diff [-bcenpuw] ITEM ...
 			Similar to 'check' but also output difference of files,
 			using diff with the provided options.
 	fix ITEM ...	Apply fixes that 'check' determines need to be applied.
-	usage		Display this usage.
+	usage		Display this help, and exit.
 _USAGE_
 }
 

Reply via email to