listrunner: convert from getopt to optparse
authorIustin Pop <iustin@google.com>
Wed, 16 Feb 2011 16:21:03 +0000 (17:21 +0100)
committerIustin Pop <iustin@google.com>
Wed, 16 Feb 2011 16:35:32 +0000 (17:35 +0100)
commitb74c0684a52273eb793a2dcdde4da51b28866d35
treeb711c4c7477a1c692503d61ca8bf0dc3ba1a932f
parent99a11adc459e00eab1ce46e455c445f77c7ab80c
listrunner: convert from getopt to optparse

The “-A” (use agent) was not documented, and instead of adding manual
listing, I converted it to optparse like the other CLI tools.

Note that I cleaned up a bit the usage and help texts.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
tools/ganeti-listrunner