diff --git a/src/plugins/CmdRef.py b/src/plugins/CmdRef.py
index b5b969afe..d1728e750 100644
--- a/src/plugins/CmdRef.py
+++ b/src/plugins/CmdRef.py
@@ -181,19 +181,12 @@ class CmdRef(Tool.Tool):
if len(oclass.options_help[arg])>2:
if isinstance(oclass.options_help[arg][2], (list, tuple)):
- if oclass.options_help[arg][3]:
- f.write(' \n')
+ if oclass.options_help[arg][2]:
+ f.write(' \n')
for val in oclass.options_help[arg][2]:
- f.write( " %s\n"
- % escape(val))
- f.write(' \n')
- else:
- if oclass.options_help[arg][2]:
- f.write(' \n')
- for val in oclass.options_help[arg][2]:
- f.write( " %s"
- "\n" % escape(val))
- f.write(' \n')
+ f.write( " %s"
+ "\n" % escape(val))
+ f.write(' \n')
else:
f.write(' '
'Value: %s\n'