Merge branch 'master' of github.com:flynx/proxmox-utils

This commit is contained in:
Alex A. Naanou 2024-12-31 21:36:47 +03:00
commit ce191db75d

View File

@ -16,20 +16,19 @@ readConfig
#----------------------------------------------------------------------
# XXX handle commandline args...
# CLI...
usage(){
echo "$0 FROM TO"
}
# XXX should we check for >2 ???
if [ $# != 2 ] ; then
echo "$(usage)"
usage
echo "Not enough arguments."
exit 1
fi
# XXX should we get FROm from config???
FROM=$1
TO=$2