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
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# CLI...
# XXX handle commandline args...
usage(){ usage(){
echo "$0 FROM TO" echo "$0 FROM TO"
} }
# XXX should we check for >2 ???
if [ $# != 2 ] ; then if [ $# != 2 ] ; then
echo "$(usage)" usage
echo "Not enough arguments." echo "Not enough arguments."
exit 1 exit 1
fi fi
# XXX should we get FROm from config???
FROM=$1 FROM=$1
TO=$2 TO=$2