index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 11:09:49 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-28 11:09:49 -0500 |
commit | 8c0ab05d635c66feb07ec102515f02d13f9af2d6 (patch) | |
tree | 8cf425cf2243195c0de12c83588a32566588c2f0 /mkarchroot.in | |
parent | c4785f9cb3e42b29d0cc39198559976cacc07995 (diff) | |
parent | 890baf68915294d27dfb11efc7a889e21e46ec2b (diff) |
-rw-r--r-- | mkarchroot.in | 4 |
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 |