If the cmdline isn't consistent regarding the getopt, let's print a
specific message to inform user about this situation instead of printing
the help.
Showing the help without any specific message was very confusing.
try:
opts, args = getopt.getopt(argv[1:],"ghbio:d:t:p:G:m:M:")
except getopt.GetoptError:
- print_help()
+ print "Error: One of the option passed to the cmdline was supported"
+ print "Please fix your command line or read the help (-h option)"
sys.exit(2)
for opt, arg in opts: