summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-07-01 09:24:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-07-01 09:24:16 +0000
commit3a0cbe42416acbcf080f172e1fd4265b4e42c2e8 (patch)
treef9b1b11f8626d9ce7d0affb53fa070a96d082562
parent9698b6f2488fcc109acccb150a9bbfde5f49c527 (diff)
downloadalpine-conf-3a0cbe42416acbcf080f172e1fd4265b4e42c2e8.zip
fix helptext
-rw-r--r--lbu4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbu b/lbu
index 52ca0c1..80f85c3 100644
--- a/lbu
+++ b/lbu
@@ -469,7 +469,7 @@ EOF
cmd_listbackup() {
local media=${1:-"$LBU_MEDIA"}
local mnt="/media/$media"
- [ -z "$media" ] && usage_log
+ [ -z "$media" ] && usage_listbackup
mount_once "$mnt" || die "failed to mount $mnt"
ls -1 "$mnt"/*.[0-9][0-9]*[0-9][0-9].tar.gz* 2>/dev/null | sed 's:.*/::'
@@ -484,7 +484,7 @@ Revert to older commit.
usage: $PROGRAM revert <REVISION> [<media>]
-The revision should be one of the files listed by 'lbu log'.
+The revision should be one of the files listed by 'lbu list-backup'.
EOF
}