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"
|
||||
}
|
||||
|
||||
delete="false"
|
||||
while getopts 'e:dh' flag; do
|
||||
case "${flag}" in
|
||||
e) extension+=("$OPTARG");;
|
||||
d) delete="true";;
|
||||
d) delete=true;;
|
||||
h) print_help
|
||||
exit 0;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
echo "$delete"
|
||||
|
||||
# write array into string
|
||||
extension="${extension[*]}"
|
||||
# change separator
|
||||
|
|
Loading…
Reference in a new issue