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
|
||||
echo_warning "Executing script silently!"
|
||||
else
|
||||
silent=false
|
||||
fi
|
||||
|
||||
checkEnv
|
||||
|
@ -334,7 +336,7 @@ if getImports; then
|
|||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--silent | -s)
|
||||
export silent=true
|
||||
silent=true
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue