Small fixes
This commit is contained in:
1 parent
328936748e
commit
d26f7700bd
7 files changed
+49
-115
No files matched your search
@@ -3,7 +3,7 @@
|
||||
# entrypoint for all actions
|
||||
#
|
||||
|
||||
VER="2.1.2"
|
||||
VER="2.1.3"
|
||||
|
||||
HERE=$(dirname "$0")
|
||||
THIS_SCRIPT=$0
|
||||
@@ -83,7 +83,9 @@ while :; do
|
||||
if [ "$2" ]; then
|
||||
list_archive_content "$2"
|
||||
else
|
||||
echo 'ERROR: "--content" requires a non-empty option argument.'
|
||||
echo 'ERROR: "--content" requires the archive name as an argument.'
|
||||
echo
|
||||
show_help
|
||||
fi
|
||||
break
|
||||
;;
|
||||
@@ -93,7 +95,9 @@ while :; do
|
||||
shift 2
|
||||
restore "$archive" "$@"
|
||||
else
|
||||
echo 'ERROR: "--restore" requires a non-empty option argument.'
|
||||
echo 'ERROR: "--restore" requires a least the archive name as an argument.'
|
||||
echo
|
||||
show_help
|
||||
fi
|
||||
break
|
||||
;;
|
||||
|
||||
Reference in new issue
Block a user