summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmakechrootpkg2
1 files changed, 1 insertions, 1 deletions
diff --git a/makechrootpkg b/makechrootpkg
index 52db6f5..879d932 100755
--- a/makechrootpkg
+++ b/makechrootpkg
@@ -47,7 +47,7 @@ usage ()
exit 1
}
-while getopts 'c:h' arg; do
+while getopts ':c:h' arg; do
case "${arg}" in
c) chrootdir="$OPTARG" ;;
h|?) usage ;;