0002389: Command line reference tool is broken (plugins/CmdRef.py)
svn: r11070
This commit is contained in:
parent
8cb51d4392
commit
e94a81c944
@ -181,13 +181,6 @@ class CmdRef(Tool.Tool):
|
|||||||
|
|
||||||
if len(oclass.options_help[arg])>2:
|
if len(oclass.options_help[arg])>2:
|
||||||
if isinstance(oclass.options_help[arg][2], (list, tuple)):
|
if isinstance(oclass.options_help[arg][2], (list, tuple)):
|
||||||
if oclass.options_help[arg][3]:
|
|
||||||
f.write(' <orderedlist>\n')
|
|
||||||
for val in oclass.options_help[arg][2]:
|
|
||||||
f.write( " <listitem><para>%s</para></listitem>\n"
|
|
||||||
% escape(val))
|
|
||||||
f.write(' </orderedlist>\n')
|
|
||||||
else:
|
|
||||||
if oclass.options_help[arg][2]:
|
if oclass.options_help[arg][2]:
|
||||||
f.write(' <itemizedlist>\n')
|
f.write(' <itemizedlist>\n')
|
||||||
for val in oclass.options_help[arg][2]:
|
for val in oclass.options_help[arg][2]:
|
||||||
|
Loading…
Reference in New Issue
Block a user