testing more beautiful approach
This commit is contained in:
parent
7a2a8460cf
commit
d4a00af5c5
1 changed files with 3 additions and 1 deletions
|
@ -303,6 +303,8 @@ main() {
|
||||||
|
|
||||||
if $silent; then
|
if $silent; then
|
||||||
echo_warning "Executing script silently!"
|
echo_warning "Executing script silently!"
|
||||||
|
else
|
||||||
|
silent=false
|
||||||
fi
|
fi
|
||||||
|
|
||||||
checkEnv
|
checkEnv
|
||||||
|
@ -334,7 +336,7 @@ if getImports; then
|
||||||
for arg in "$@"; do
|
for arg in "$@"; do
|
||||||
case "$arg" in
|
case "$arg" in
|
||||||
--silent | -s)
|
--silent | -s)
|
||||||
export silent=true
|
silent=true
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue