diff options
-rwxr-xr-x | bin/backup | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -17,7 +17,6 @@ help() { -q disable verbose mode, useful for non-interactive sessions -C COMMENT the comment text to be attached to the archive - -x disable checking the repository after creating the backup -h, --help show this message ARCHIVE_TAG the tag used to create the new @@ -45,10 +44,9 @@ help() { $ backup - Create backup with comment, and verbose mode active, and do not - verify the repository afterwards: + Create backup with comment, and verbose mode active: - $ backup -qxC 'The backup has a comment' my-backup + $ backup -qC 'The backup has a comment' my-backup EOF } @@ -69,8 +67,7 @@ done VERBOSE_FLAGS='--verbose --progress' COMMENT='' -CHECK=true -while getopts 'qC:xh' flag; do +while getopts 'qC:h' flag; do case "$flag" in q) VERBOSE_FLAGS='' @@ -78,9 +75,6 @@ while getopts 'qC:xh' flag; do C) COMMENT="$OPTARG" ;; - x) - CHECK=false - ;; h) usage help |