Dateien hochladen nach „“
This commit is contained in:
parent
c3cb18999e
commit
56d13bcea9
1 changed files with 3 additions and 6 deletions
|
@ -18,19 +18,16 @@ print_help() {
|
||||||
printf "Help: not implemented yet"
|
printf "Help: not implemented yet"
|
||||||
}
|
}
|
||||||
|
|
||||||
delete="false"
|
|
||||||
while getopts 'e:dh' flag; do
|
while getopts 'e:dh' flag; do
|
||||||
case "${flag}" in
|
case "${flag}" in
|
||||||
e) extension+=("$OPTARG");;
|
e) extension+=("$OPTARG");;
|
||||||
d) delete="true";;
|
d) delete=true;;
|
||||||
h) print_help
|
h) print_help
|
||||||
exit 0;;
|
exit 0;;
|
||||||
*) exit 1 ;;
|
*) exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "$delete"
|
|
||||||
|
|
||||||
# write array into string
|
# write array into string
|
||||||
extension="${extension[*]}"
|
extension="${extension[*]}"
|
||||||
# change separator
|
# change separator
|
||||||
|
|
Loading…
Reference in a new issue