[IPython-dev] Notebook command line - parameters checked?

Fernando Perez fperez.net@gmail....
Fri Apr 20 13:42:19 CDT 2012


Hey Matthew,

sorry, this one fell through the cracks..

> On Thu, Apr 12, 2012 at 10:16 PM, Matthew Brett <matthew.brett@gmail.com> wrote:
>> Hi,
>>
>> I just noticed that these command lines:
>>
>> $ ipython notebook unlikely
>> $ ipython notebook unlikely=impossible
>> $ ipython notebook --pylab=impossible
>>
>> all pass without remark, but this:
>>
>> $ ipython notebook --unlikely=impossible
>>
>> gives:
>>
>> WARNING: Unrecognized alias: 'unlikely', it will probably have no
>> effect.[NotebookApp] Using existing profile dir:
>> u'/Users/mb312/.ipython/profile_default'
>>
>> Is this intended (the no-comments I mean)?
>
> Should I enter an issue for this?

Yes, I think so, though I'm not sure how fixable it is, Min will have
a better idea: the problem is that the command-line handling captures
flags and then has to pass that information 'downstream' to all
components that make up an application, but it doesn't know in advance
what all the valid flags are from 'below'.  But definitely file it so
we have a focused place to document/discuss this...

Cheers,

f


More information about the IPython-dev mailing list