提交 a19ffef1 编写于 作者: L Lukáš Doktor 提交者: Cleber Rosa

avocado.plugins.multiplex: Remove format_help

The format_help was used to show "avocado multiplex -h" when
incompatible options were used, but it requires the parser to be stored
and as this is the only plugin doing this, let's just get rid of it
instead fixing the bug.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 7b3c553d
......@@ -90,7 +90,6 @@ class Multiplex(CLICmd):
elif not args.tree and args.inherit:
err = "Option --inherit can be only used with --tree"
if err:
view.notify(event="minor", msg=self.parser.format_help())
view.notify(event="error", msg=err)
sys.exit(exit_codes.AVOCADO_FAIL)
try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册