From 3c55005583aa53374743292f8fd40017c76b0071 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 26 Jun 2023 15:06:18 -0300 Subject: bin/backup: Remove -x option --- bin/backup | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/bin/backup b/bin/backup index 690b5d0..ded7665 100755 --- a/bin/backup +++ b/bin/backup @@ -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 -- cgit v1.2.3