aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-05-26 09:39:24 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-05-26 09:39:24 -0300
commit50d5e5743dc94945f32c916ee3b37356d7a6b8af (patch)
tree79ee896e0b0b2492a44a7d56098c66d45579ee76
parent2add786e4cc6765b63f43e2bc3407e0b619490e0 (diff)
downloadborger-50d5e5743dc94945f32c916ee3b37356d7a6b8af.tar.gz
borger-50d5e5743dc94945f32c916ee3b37356d7a6b8af.tar.bz2
Rename --check to --list
-rw-r--r--README.md6
-rwxr-xr-xborger8
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index 123e7a0..9319508 100644
--- a/README.md
+++ b/README.md
@@ -70,12 +70,12 @@ can be adjusted using the `INTERVAL` config variable. See [this
issue](https://github.com/borgbackup/borg/issues/325) for a discussion on
continous backups.
-# Checking your backups
+# Listing your backups
As simply as
- borger servername --check
- borger mydisk --check
+ borger servername --list
+ borger mydisk --list
# WARNING
diff --git a/borger b/borger
index 5b002b9..881fa03 100755
--- a/borger
+++ b/borger
@@ -28,7 +28,7 @@ function fatal {
}
function borger_usage {
- echo "usage: $BASENAME <destination> [--continuous|--check]"
+ echo "usage: $BASENAME <destination> [--continuous|--list]"
echo -n "available destinations from $BASE_CONFIG: "
ls $BASE_CONFIG
exit 1
@@ -69,8 +69,8 @@ function borger_config {
fi
}
-# Check
-function borger_check {
+# List
+function borger_list {
borg list
exit $?
}
@@ -185,7 +185,7 @@ if [ -z "$DESTINATION" ]; then
borger_usage
elif [ -z "$OPTION" ]; then
borger_run
-elif [ "$OPTION" == "--check" ]; then
+elif [ "$OPTION" == "--list" ]; then
borger_config
borger_check
elif [ "$OPTION" == "--continuous" ]; then