Skip to content

Commit

Permalink
Don't print usage when saying login required
Browse files Browse the repository at this point in the history
The login required message ends up being scrolled past and the user doesn't end up seeing it.
  • Loading branch information
polyatail committed Nov 6, 2018
1 parent 351dde6 commit 2054eb8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion onecodex/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ def login_wrapper(ctx, *args, **kwargs):
ctx.obj['API'] = Api(cache_schema=True, api_key=api_key, telemetry=telemetry)
else:
click.echo('The command you specified requires authentication. Please login first.\n', err=True)
click.echo(ctx.get_help())
ctx.exit()

return fn(ctx, *args, **kwargs)
Expand Down

0 comments on commit 2054eb8

Please sign in to comment.