aboutsummaryrefslogtreecommitdiff
path: root/bin/app-init
diff options
context:
space:
mode:
Diffstat (limited to 'bin/app-init')
-rwxr-xr-xbin/app-init3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/app-init b/bin/app-init
index 7098cb3..fb4f7cd 100755
--- a/bin/app-init
+++ b/bin/app-init
@@ -12,6 +12,7 @@ usage_text() {
echo "usage: $usage_app -d dir <resolver> <resolver args>"
}
+dir=
while getopts "d:" opt
do
case $opt in
@@ -32,7 +33,7 @@ resolver_name="$1"; shift
if [ -z "$dir" ]
then
- usage
+ usage "-d is required"
fi
if [ -e "$dir" ]