@@ -318,7 +318,7 @@ def main(argv):
318318 # <file>dmlc</file>:
319319 # <dl>
320320
321- # <dt>-h, --help</dt>
321+ # <dt>-h, -\ -help</dt>
322322 # <dd>Print usage help.</dd>
323323
324324 # <dt>-I <i>path</i></dt>
@@ -341,22 +341,22 @@ def main(argv):
341341 default = [],
342342 help = 'set compile time constant NAME to VALUE' )
343343
344- # <dt>--dep</dt>
344+ # <dt>-\ -dep</dt>
345345 # <dd>Output makefile rules describing dependencies.</dd>
346346 parser .add_argument (
347347 '--dep' , action = 'store' ,
348348 help = 'generate makefile dependencies' )
349349
350- # <dt>--no-dep-phony</dt>
351- # <dd>With --dep, avoid addition of a phony target for each dependency
350+ # <dt>-\ -no-dep-phony</dt>
351+ # <dd>With -\ -dep, avoid addition of a phony target for each dependency
352352 # other than the main file.</dd>
353353 parser .add_argument (
354354 '--no-dep-phony' , action = 'store_true' ,
355355 help = 'With --dep, avoid addition of a phony target for each'
356356 + ' dependency other than the main file.' )
357357
358- # <dt>--dep-target</dt>
359- # <dd>With --dep, change the target of the rule emitted by dependency
358+ # <dt>-\ -dep-target</dt>
359+ # <dd>With -\ -dep, change the target of the rule emitted by dependency
360360 # generation. Specify multiple times to have multiple targets.</dd>
361361 parser .add_argument (
362362 '--dep-target' , action = 'append' , metavar = 'TARGET' , default = [],
@@ -366,7 +366,7 @@ def main(argv):
366366
367367 # <dt>-T</dt>
368368 # <dd>Show tags on warning messages. The tags can be used with
369- # the <tt>--nowarn</tt> and <tt>--warn</tt> options.</dd>
369+ # the <tt>-\ -nowarn</tt> and <tt>-\ -warn</tt> options.</dd>
370370 parser .add_argument (
371371 '-T' , dest = 'include_tag' , action = 'store_true' ,
372372 help = 'show tags on warning messages' )
@@ -384,7 +384,7 @@ def main(argv):
384384 '-g' , dest = 'debuggable' , action = 'store_true' ,
385385 help = 'generate artifacts and C code that allow for easier debugging' )
386386
387- # <dt>--warn=<i>tag</i></dt>
387+ # <dt>-\ -warn=<i>tag</i></dt>
388388 # <dd>Enable selected warnings. The tags can be found using
389389 # the <tt>-T</tt> option.</dd>
390390 parser .add_argument (
@@ -393,7 +393,7 @@ def main(argv):
393393 default = [],
394394 help = 'enable warning TAG' )
395395
396- # <dt>--nowarn=<i>tag</i></dt>
396+ # <dt>-\ -nowarn=<i>tag</i></dt>
397397 # <dd>Suppress selected warnings. The tags can be found using
398398 # the <tt>-T</tt> option.</dd>
399399 parser .add_argument (
@@ -404,7 +404,7 @@ def main(argv):
404404
405405 parser .add_argument ('--help-warn' , action = WarnHelpAction ,
406406 help = 'List warning tags available for --warn/--nowarn' )
407- # <dt>--werror</dt>
407+ # <dt>-\ -werror</dt>
408408 # <dd>Turn all warnings into errors.</dd>
409409 parser .add_argument ('--werror' , action = 'store_true' ,
410410 help = 'Turn all warnings into errors' )
@@ -415,7 +415,7 @@ def main(argv):
415415 parser .add_argument ('--strict-int' , action = 'store_true' ,
416416 help = 'Alias for --no-compat=dml12_int' )
417417
418- # <dt>--coverity</dt>
418+ # <dt>-\ -coverity</dt>
419419 # <dd> Adds Synopsys® Coverity® analysis annotations to suppress common
420420 # false positives in generated C code created from DML 1.4 device models.
421421 # </dd>
@@ -424,20 +424,20 @@ def main(argv):
424424 help = ('Adds Synopsys® Coverity® analysis annotations to suppress '
425425 + 'common false positives in generated C code created from '
426426 + 'DML 1.4 device models.' ))
427- # <dt>--noline</dt>
427+ # <dt>-\ -noline</dt>
428428 # <dd>Suppress line directives for the C preprocessor so
429429 # that the C code can be debugged.</dd>
430430 parser .add_argument (
431431 '--noline' , action = 'store_true' ,
432432 help = 'suppress line directives in generated C code' )
433433
434- # <dt>--info</dt>
434+ # <dt>-\ -info</dt>
435435 # <dd>Enable the output of an XML file describing register layout.</dd>
436436 parser .add_argument (
437437 '--info' , action = 'store_true' ,
438438 help = 'generate XML file describing register layout' )
439439
440- # <dt>--simics-api=<i>version</i></dt>
440+ # <dt>-\ -simics-api=<i>version</i></dt>
441441 # <dd>Use Simics API version <i>version</i>.</dd>
442442 parser .add_argument (
443443 '--simics-api' , action = 'store' ,
@@ -446,7 +446,7 @@ def main(argv):
446446 help = ('specify Simics API version (default %s)'
447447 % default_api_version ()))
448448
449- # <dt>--max-errors=<i>N</i></dt>
449+ # <dt>-\ -max-errors=<i>N</i></dt>
450450 # <dd>Limit the number of error messages to <i>N</i>.</dd>
451451 parser .add_argument (
452452 '--max-errors' , action = 'store' ,
@@ -457,7 +457,7 @@ def main(argv):
457457 # </dl>
458458 # </add>
459459
460- # <dt>--no-compat=<i>TAG</i></dt>
460+ # <dt>-\ -no-compat=<i>TAG</i></dt>
461461 # <dd>Disable a compatibility feature</dd>
462462 parser .add_argument (
463463 '--no-compat' , action = 'append' , default = [],
0 commit comments