From 0aebaa3c078f4b488843c27855873ba58960696c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@anarcat.ath.cx>
Date: Thu, 10 Jul 2008 21:41:03 +0000
Subject: [PATCH] fix grammar

---
 src/sqlbackup.sh | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sqlbackup.sh b/src/sqlbackup.sh
index 1ceb7bec..5c1ad157 100755
--- a/src/sqlbackup.sh
+++ b/src/sqlbackup.sh
@@ -294,7 +294,7 @@ read_parameters() {
             -n|--name-methode) shift; SQLBACKUP_TYPE="$1";;
             -a|--allow-ovewrite) shift; SQLBACKUP_OVERWRITE="$1" ;;
             *)
-                error "invalide option -- $1" 
+                error "invalid option -- $1" 
                 error "Try \`sqlbackup.sh --help' for more information."
                 exit ;;
         esac
@@ -323,7 +323,7 @@ read_parameters() {
         error "Try \`sqlbackup.sh --help' for more information."
         exit
     else 
-        error "invalide argument: type -- $TYPE"
+        error "invalid argument: type -- $TYPE"
         error "Try \`sqlbackup.sh --help' for more information."
         exit
     fi
@@ -331,7 +331,7 @@ read_parameters() {
     if ! ( [ -z "$SQLBACKUP_TYPE" ] || 
            [ "$SQLBACKUP_TYPE" == "date" ] || 
            [ "$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."
         exit
      fi
@@ -340,7 +340,7 @@ read_parameters() {
            [ "$SQLBACKUP_OVERWRITE" == "no" ] || 
            [ "$SQLBACKUP_OVERWRITE" == "rename" ] || 
            [ "$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."
         exit
      fi