mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 18:50:08 +00:00
basic args...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
4a07efdf44
commit
4220902d26
@ -23,6 +23,18 @@ usage(){
|
||||
echo "$0 FROM TO"
|
||||
}
|
||||
|
||||
if [ $# != 2 ] ; then
|
||||
echo "$(usage)"
|
||||
echo "Not enough arguments."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
FROM=$1
|
||||
TO=$2
|
||||
|
||||
|
||||
# XXX should we build TO if it's not there???
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user