Commit 3a0cbe42 authored by Natanael Copa's avatar Natanael Copa

fix helptext

parent 9698b6f2
...@@ -469,7 +469,7 @@ EOF ...@@ -469,7 +469,7 @@ EOF
cmd_listbackup() { cmd_listbackup() {
local media=${1:-"$LBU_MEDIA"} local media=${1:-"$LBU_MEDIA"}
local mnt="/media/$media" local mnt="/media/$media"
[ -z "$media" ] && usage_log [ -z "$media" ] && usage_listbackup
mount_once "$mnt" || die "failed to mount $mnt" 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:.*/::' 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. ...@@ -484,7 +484,7 @@ Revert to older commit.
usage: $PROGRAM revert <REVISION> [<media>] 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 EOF
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment