Skip to content

allow ipython help subcommand syntax#1465

Merged
minrk merged 3 commits into
ipython:masterfrom
minrk:helpcommand
Mar 3, 2012
Merged

allow ipython help subcommand syntax#1465
minrk merged 3 commits into
ipython:masterfrom
minrk:helpcommand

Conversation

@minrk
Copy link
Copy Markdown
Member

@minrk minrk commented Mar 2, 2012

We use git-style subcommands, and should support git-style help to match.

Implementation-wise, simply transforms ipython help subcommand to ipython subcommand -h

As requested by @jdh2358

minrk added 2 commits March 2, 2012 14:40
Implementation-wise, simply transforms argv to `ipython subcommand -h`

We use git-style subcommands, and should support git-style help to match.

As requested by @jdh2358
also recommend `ipython help subcmd` syntax instead of `ipython subcmd -h`
Comment thread IPython/frontend/terminal/ipapp.py Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we move this up above profile? or have profile be listed first here (as it is further up in the file) for consistency?

@ivanov
Copy link
Copy Markdown
Member

ivanov commented Mar 3, 2012

other than that, looks good and tests still pass here.

I've been thinking about how it'd be nice if we actually paged the help, the way git does by default

@jdh2358
Copy link
Copy Markdown

jdh2358 commented Mar 3, 2012

This works exactly as I was hoping. Thanks!

@minrk
Copy link
Copy Markdown
Member Author

minrk commented Mar 3, 2012

reordered per @ivanov's request.

minrk added a commit that referenced this pull request Mar 3, 2012
allow `ipython help subcommand` syntax

We use git-style subcommands, and should support git-style help to match.
@minrk minrk merged commit 6cbd0fb into ipython:master Mar 3, 2012
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
allow `ipython help subcommand` syntax

We use git-style subcommands, and should support git-style help to match.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants