ghlister: fail when no action is given
This commit is contained in:
parent
944d4a9c49
commit
011ce383e2
1 changed files with 3 additions and 0 deletions
|
@ -81,6 +81,9 @@ def parse_args():
|
|||
|
||||
args = cli.parse_args()
|
||||
|
||||
if not args.action:
|
||||
cli.error('no action given')
|
||||
|
||||
return args
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue