changed default filename

This commit is contained in:
Michael Stumpf 2018-11-30 11:47:32 +01:00
parent b7913bc624
commit ddd879788d
1 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
#!/bin/bash
display_help() {
(>&2 echo "Usage: $(basename "$0") [-hv] [-f outfile] filename")
(>&2 echo "UCF archive packer v1.0")
(>&2 echo "UCF tar packer")
(>&2 echo)
(>&2 echo " filename path to arbitrary file with correct sequence number")
(>&2 echo " -f, --file output file (default: archive_XXXX.ucf)")
(>&2 echo " -f, --file output file (default: snapshot_XXXX.ucf.tar)")
(>&2 echo " -h, --help display this help message")
(>&2 echo " -v, --verbose verbose output")
}
@ -59,7 +59,7 @@ fi
# Construct output filename if not specified
if [ -z "$fout" ]; then
fout="archive${seqnum}.ucf"
fout="snapshot${seqnum}.ucf.tar"
fi
# Display verbose info