adapted command line parameter names to be one letter for easier by
getopts in bash