From: Mike Frysinger Date: Sun, 15 Jun 2014 01:44:49 +0000 (-0400) Subject: custom-chroot: support --help X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8b6a28cd3292932beaafc6fd8bc1382f34a4d191;p=home.git custom-chroot: support --help --- diff --git a/.bin/custom-chroot b/.bin/custom-chroot index 66613bc..8a3fc61 100755 --- a/.bin/custom-chroot +++ b/.bin/custom-chroot @@ -110,7 +110,7 @@ main() { -u) cmd='umount' ;; -m) mounts+=( "$2" ); shift ;; -d) chroot=$(realpath "$2"); shift ;; - -h) usage ;; + --help|-h) usage ;; -*) echo "${0##*/}: unknown option $1"; exit 1 ;; *) break ;; esac