mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 02:30:07 +00:00
Merge branch 'master' of github.com:flynx/proxmox-utils
This commit is contained in:
commit
ce191db75d
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user