I\'ve read this http://docs.python.org/release/2.6.2/library/optparse.html
But I\'m not so clear how to make an option to be required in optparse?
I\'ve tried to
I would use argparse library that has this functionality embedded:
PARSER.add_argument("-n", "--namespace", dest="namespace", required=True, help="The path within the repo to the data base")
argparse reference