From 8b6a28cd3292932beaafc6fd8bc1382f34a4d191 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Jun 2014 21:44:49 -0400 Subject: [PATCH] custom-chroot: support --help --- .bin/custom-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5