summaryrefslogtreecommitdiff
path: root/pkgtools/mksandbox
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-05-29 15:09:49 +0000
committerwiz <wiz@pkgsrc.org>2013-05-29 15:09:49 +0000
commit07c793f1f502dc8cfc50804e5bfb71c0cb28147f (patch)
tree3256e810ce91a5536f0832cc4531bad94e41de03 /pkgtools/mksandbox
parentfe96d8a7aef941b8759bc0615e95ba4735cd4012 (diff)
downloadpkgsrc-07c793f1f502dc8cfc50804e5bfb71c0cb28147f.tar.gz
- add missing `--mounthost=host' option to usage comment;
- sort options order in usage comment and `usage' message; - de-capitalize ``usage'' word in usage message. From Bug Hunting.
Diffstat (limited to 'pkgtools/mksandbox')
-rwxr-xr-xpkgtools/mksandbox/files/mksandbox6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/mksandbox/files/mksandbox b/pkgtools/mksandbox/files/mksandbox
index 410a8ce732f..a4ebda6ca9c 100755
--- a/pkgtools/mksandbox/files/mksandbox
+++ b/pkgtools/mksandbox/files/mksandbox
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: mksandbox,v 1.2 2012/08/26 21:38:34 agc Exp $
+# $NetBSD: mksandbox,v 1.3 2013/05/29 15:09:49 wiz Exp $
# Copyright (c) 2002,2012 Alistair Crooks <agc@NetBSD.org>
# All rights reserved.
@@ -26,7 +26,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# Usage: mksandbox [--pkgsrc=dir] [--src=srcdir] [--xsrc=xsrcdir] [--without-x] [--verbose] sandbox-dir
+# Usage: mksandbox [--mounthost=host] [--pkgsrc=dir] [--src=srcdir] [--verbose] [--without-x] [--xsrc=xsrcdir] sandbox-dir
#
# A small shell script to set up a sandbox (usually for a pkgsrc bulk
# build), using null mounts.
@@ -44,7 +44,7 @@ sandboxEmptyFiles="/var/run/utmp /var/run/utmpx /var/log/wtmp /var/log/wtmpx /va
usage()
{
- echo "Usage: mksandbox [--mounthost=host] [--pkgsrc=dir] [--src=srcdir] [--xsrc=xsrcdir] [--without-x] [--verbose] sandbox-dir"
+ echo "usage: mksandbox [--mounthost=host] [--pkgsrc=dir] [--src=srcdir] [--verbose] [--without-x] [--xsrc=xsrcdir] sandbox-dir"
exit 1
}