cleanup function error messages
This commit is contained in:
parent
9f838982fb
commit
89b2986db9
@ -5,12 +5,7 @@
|
|||||||
local archive_name dir_to_archive
|
local archive_name dir_to_archive
|
||||||
|
|
||||||
if (( ${#} != 2 )); then
|
if (( ${#} != 2 )); then
|
||||||
cat >&2 <<EOF
|
print "usage: ${0} [archive_name.ext] [/path/to/include/in/archive]" >&2
|
||||||
usage: ${0} [archive_name.zip] [/path/to/include/into/archive]
|
|
||||||
Where 'archive.zip' uses any of the following extensions:
|
|
||||||
.tar.gz, .tar.bz2, .tar.xz, .tar.lzma, .tar, .zip, .rar, .7z
|
|
||||||
There is no '-v' switch; all operations are verbose.
|
|
||||||
EOF
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -5,9 +5,7 @@
|
|||||||
local archive_name
|
local archive_name
|
||||||
|
|
||||||
if (( ${#} != 1 )); then
|
if (( ${#} != 1 )); then
|
||||||
cat >&2 <<EOF
|
print "usage: ${0} [archive.ext]" >&2
|
||||||
usage: ${0} [archive.zip]
|
|
||||||
EOF
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user