diff options
author | EuAndreh <eu@euandre.org> | 2023-06-26 15:06:18 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-06-26 15:06:18 -0300 |
commit | 3c55005583aa53374743292f8fd40017c76b0071 (patch) | |
tree | ca0d1f63a94e375aeb44e99da1426979def1bcf1 /bin | |
parent | bin/backup: Do not "borg check", as it takes too long (diff) | |
download | dotfiles-3c55005583aa53374743292f8fd40017c76b0071.tar.gz dotfiles-3c55005583aa53374743292f8fd40017c76b0071.tar.xz |
bin/backup: Remove -x option
Diffstat (limited to 'bin')
-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 |