aboutsummaryrefslogtreecommitdiff
path: root/borger
diff options
context:
space:
mode:
Diffstat (limited to 'borger')
-rwxr-xr-xborger8
1 files changed, 4 insertions, 4 deletions
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