Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/postinstall postinstall: add -? to usage



details:   https://anonhg.NetBSD.org/src/rev/5db3a0dd3d48
branches:  trunk
changeset: 359532:5db3a0dd3d48
user:      lukem <lukem%NetBSD.org@localhost>
date:      Sat Jan 08 23:04:11 2022 +0000

description:
postinstall: add -? to usage

diffstat:

 usr.sbin/postinstall/postinstall.in |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 5d6a900963b5 -r 5db3a0dd3d48 usr.sbin/postinstall/postinstall.in
--- a/usr.sbin/postinstall/postinstall.in       Sat Jan 08 22:42:27 2022 +0000
+++ b/usr.sbin/postinstall/postinstall.in       Sat Jan 08 23:04:11 2022 +0000
@@ -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 @@
        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 @@
                                                        [${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_
 }
 



Home | Main Index | Thread Index | Old Index