Commit 7f93a22d authored by Antoine Beaupré's avatar Antoine Beaupré Committed by fred

fix sqlbackup call sequence by retaining backwards compatibilty with previous script

Closes: #1163

parent fa166dd6
......@@ -270,6 +270,7 @@ read_parameters() {
-t|--type) shift; TYPE="$1";;
-n|--name-methode) shift; SQLBACKUP_TYPE="$1";;
-a|--allow-ovewrite) shift; SQLBACKUP_OVERWRITE="$1" ;;
daily|weekly); TYPE="$1";; # backwards compatibility
error "invalid option -- $1"
error "Try \` --help' for more information."
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment