don't fail on CLI plugins without docstrings
Related: https://pagure.io/koji/issue/644
This commit is contained in:
parent
208a98e8e7
commit
64202285b2
2 changed files with 2 additions and 1 deletions
|
|
@ -206,6 +206,7 @@ Most simple command would look like this:
|
|||
|
||||
@export_cli
|
||||
def anon_handle_echo(options, session, args):
|
||||
"[info] Print arguments"
|
||||
usage = _("usage: %prog echo <message>")
|
||||
parser = OptionParser(usage=usage)
|
||||
(opts, args) = parser.parse_args(args)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue