vzmigrate: use getopt for option parsing

This makes option parsing a bit simpler and more robust.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed