Skip to content
Snippets Groups Projects
Commit ad688498 authored by juergen's avatar juergen
Browse files

optimizing cmd line options

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2459 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent f6fbabd0
Branches
Tags
No related merge requests found
......@@ -66,9 +66,9 @@ def _CollectRstDocs(outdir, dirname, fnames):
def ParseArgs():
parser = OptionParser("usage: ost make.py [options] ")
parser.add_option("-l", "--linkcheck", dest="linkcheck", help="validate all external links")
parser.add_option("-b", "--build-html", dest="html", help="build html documentation")
parser.add_option("-d", "--doctest", dest="doctest", help="run all test")
parser.add_option("-l","--linkcheck", action="store_true", default=False, dest="linkcheck", help="validate all external links")
parser.add_option("-b", "--build-html", action="store_true", default=False, dest="html", help="build html documentation")
parser.add_option("-d", "--doctest", action="store_true", default=False, dest="doctest", help="run all test")
return parser.parse_args()
opts, args=ParseArgs()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment