diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..6a6c6e6 Binary files /dev/null and b/.DS_Store differ diff --git a/README.md b/README.md index 5153483..213af35 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ MySQL Backup docker container image | Options | Shorts | Usage | |---------------|--------|------------------------------------| | mysql_bkup | bkup | Command utility | -| --operation | -o | Set operation, local or s3 (default: backup) | -| --destination | -d | Set destination (default: local) | +| --operation | -o | Set operation, backup or restore (default: backup) | +| --destination | -d | Set destination, local or s3 (default: local) | | --source | -s | Set source, local or s3 (default: local) | | --file | -f | Set file name for restoration | | --source | -s | Set source (default: local) | diff --git a/src/mysql_bkup.sh b/src/mysql_bkup.sh index c30c9a3..e7be763 100755 --- a/src/mysql_bkup.sh +++ b/src/mysql_bkup.sh @@ -39,15 +39,15 @@ error() help() { echo - echo " -o|--operation -- Set operation (default: backup)" - echo " -d|--destination -- Set destination (default: local)" - echo " -s|--source -- Set source (default: local)" - echo " -s|--file -- Set file name " - echo " -db|--database -- Set database name " - echo " -p|--port -- Set database port (default: 3306)" - echo " -t|--timeout -- Set timeout (default: 120s)" - echo " -h|--help -- Print this help message and exit" - echo " -v|--version -- Print version information and exit" + echo " -o |--operation -- Set operation (default: backup)" + echo " -d |--destination -- Set destination (default: local)" + echo " -s |--source -- Set source (default: local)" + echo " -s |--file -- Set file name " + echo " -db|--database -- Set database name " + echo " -p |--port -- Set database port (default: 3306)" + echo " -t |--timeout -- Set timeout (default: 120s)" + echo " -h |--help -- Print this help message and exit" + echo " -v |--version -- Print version information and exit" exit 0 }