fix grammar

This commit is contained in:
Antoine Beaupré 2008-07-10 21:41:03 +00:00
parent 4706995038
commit 0aebaa3c07
1 changed files with 4 additions and 4 deletions

View File

@ -294,7 +294,7 @@ read_parameters() {
-n|--name-methode) shift; SQLBACKUP_TYPE="$1";; -n|--name-methode) shift; SQLBACKUP_TYPE="$1";;
-a|--allow-ovewrite) shift; SQLBACKUP_OVERWRITE="$1" ;; -a|--allow-ovewrite) shift; SQLBACKUP_OVERWRITE="$1" ;;
*) *)
error "invalide option -- $1" error "invalid option -- $1"
error "Try \`sqlbackup.sh --help' for more information." error "Try \`sqlbackup.sh --help' for more information."
exit ;; exit ;;
esac esac
@ -323,7 +323,7 @@ read_parameters() {
error "Try \`sqlbackup.sh --help' for more information." error "Try \`sqlbackup.sh --help' for more information."
exit exit
else else
error "invalide argument: type -- $TYPE" error "invalid argument: type -- $TYPE"
error "Try \`sqlbackup.sh --help' for more information." error "Try \`sqlbackup.sh --help' for more information."
exit exit
fi fi
@ -331,7 +331,7 @@ read_parameters() {
if ! ( [ -z "$SQLBACKUP_TYPE" ] || if ! ( [ -z "$SQLBACKUP_TYPE" ] ||
[ "$SQLBACKUP_TYPE" == "date" ] || [ "$SQLBACKUP_TYPE" == "date" ] ||
[ "$SQLBACKUP_TYPE" == "rotate" ] ) ; then [ "$SQLBACKUP_TYPE" == "rotate" ] ) ; then
error "invalide argument: name-methode -- $SQLBACKUP_TYPE" error "invalid argument: name-methode -- $SQLBACKUP_TYPE"
error "Try \`sqlbackup.sh --help' for more information." error "Try \`sqlbackup.sh --help' for more information."
exit exit
fi fi
@ -340,7 +340,7 @@ read_parameters() {
[ "$SQLBACKUP_OVERWRITE" == "no" ] || [ "$SQLBACKUP_OVERWRITE" == "no" ] ||
[ "$SQLBACKUP_OVERWRITE" == "rename" ] || [ "$SQLBACKUP_OVERWRITE" == "rename" ] ||
[ "$SQLBACKUP_OVERWRITE" == "overwrite" ] ); then [ "$SQLBACKUP_OVERWRITE" == "overwrite" ] ); then
error "invalide argument: allow-ovewrite -- $SQLBACKUP_OVERWRITE" error "invalid argument: allow-ovewrite -- $SQLBACKUP_OVERWRITE"
error "Try \`sqlbackup.sh --help' for more information." error "Try \`sqlbackup.sh --help' for more information."
exit exit
fi fi