Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs typo? #2423

Closed
wesm opened this issue Sep 23, 2012 · 4 comments
Closed

Docs typo? #2423

wesm opened this issue Sep 23, 2012 · 4 comments
Milestone

Comments

@wesm
Copy link

wesm commented Sep 23, 2012

Is this a typo or has the CLI changed?

http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html

$ ipython notebook --pylab inline
@Carreau
Copy link
Member

Carreau commented Sep 23, 2012

Do you mean the = ?
both

ipython notebook --pylab inline

and

ipython notebook --pylab=inline

are accepted as for many often use keywords. --pylab also accept no argument.

@wesm
Copy link
Author

wesm commented Sep 23, 2012

Ah, good to know. Someone commented on it in my book chapter on IPython so I was just checking

@wesm wesm closed this as completed Sep 23, 2012
@Carreau
Copy link
Member

Carreau commented Sep 23, 2012

Well, every flags that support argument should work with = but not everything will support space.
We also have a recent bash completion script somewhere in the docs folder that does complete with trailing =. It might help beginners with flags.

@minrk
Copy link
Member

minrk commented Sep 23, 2012

It's just argparse - everything you would do under normal circumstances
allows for = or space. The only case that doesn't is when you are
reaching deep into IPython with a full --Class.trait=value expression,
which is eval'd as-is.

On Sun, Sep 23, 2012 at 12:23 PM, Bussonnier Matthias <
notifications@github.com> wrote:

Well, every flags that support argument should work with = but not
everything will support space.
We also have a recent bash completion script somewhere in the docs folder
that does complete with trailing =. It might help beginners with flags.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2423#issuecomment-8801775.

@minrk minrk added this to the no action milestone Mar 26, 2014
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

No branches or pull requests

3 participants