From ad68849813d125fef577dcff0bf013b83118932f Mon Sep 17 00:00:00 2001 From: juergen <juergen@5a81b35b-ba03-0410-adc8-b2c5c5119f08> Date: Thu, 24 Jun 2010 05:52:04 +0000 Subject: [PATCH] optimizing cmd line options git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2459 5a81b35b-ba03-0410-adc8-b2c5c5119f08 --- doc/make.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/make.py b/doc/make.py index c643565a1..afdda0e11 100644 --- a/doc/make.py +++ b/doc/make.py @@ -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() -- GitLab