From 5af6bb020dcb5e6cfff55867a01b2b4a5bdbc673 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sat, 21 Jan 2017 21:51:12 -0500 Subject: [PATCH] commands help --- pipenv/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pipenv/cli.py b/pipenv/cli.py index abece407..694af212 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -269,9 +269,13 @@ def which_python(): @click.pass_context def cli(ctx, where=False, bare=False): if ctx.invoked_subcommand is None: + # --where was passed... if where: do_where(bare=bare) + # Display help to user, if no commands were passed. + click.echo(ctx.get_help()) + @click.command(help="Installs a provided package and adds it to Pipfile, or (if none is given), installs all packages.")