summaryrefslogtreecommitdiff
path: root/mkarchroot.in
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 11:09:49 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-11-28 11:09:49 -0500
commit8c0ab05d635c66feb07ec102515f02d13f9af2d6 (patch)
tree8cf425cf2243195c0de12c83588a32566588c2f0 /mkarchroot.in
parentc4785f9cb3e42b29d0cc39198559976cacc07995 (diff)
parent890baf68915294d27dfb11efc7a889e21e46ec2b (diff)
Merge remote-tracking branch 'devtools/master' into complete
Conflicts: mkarchroot.in
Diffstat (limited to 'mkarchroot.in')
-rw-r--r--mkarchroot.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkarchroot.in b/mkarchroot.in
index 308f5d3..7b6adf7 100644
--- a/mkarchroot.in
+++ b/mkarchroot.in
@@ -23,7 +23,7 @@ APPNAME=$(basename "${0}")
# usage: usage <exitvalue>
usage() {
- echo "usage ${APPNAME} [options] working-dir [package-list | app]"
+ echo "Usage: ${APPNAME} [options] working-dir [package-list | app]"
echo ' options:'
echo ' -r <app> Run "app" within the context of the chroot'
echo ' -u Update the chroot via pacman'
@@ -47,7 +47,7 @@ while getopts 'r:ufnhC:M:c:' arg; do
n) NOCOPY='y' ;;
c) cache_dir="$OPTARG" ;;
N) NONETWORK='y' ;;
- h|?) usage 0 ;;
+ h|?) usage ;;
*) error "invalid argument '${arg}'"; usage ;;
esac
done