[IPython-dev] Unifying command-line conventions for 0.11+: single-dash OK?
ellisonbg.net at gmail.com
Sat Jan 9 13:40:26 EST 2010
On Fri, Jan 8, 2010 at 4:13 PM, Fernando Perez <fperez.net at gmail.com> wrote:
> On Fri, Jan 8, 2010 at 4:06 PM, Steve Steiner (listsin)
> <listsin at integrateddevcorp.com> wrote:
> > I have an objection in that this would be the only program that I would
> have that *didn't* follow the --multiple-words-get-double-dash convention.
> > I use argparse too and find myself disambiguating the short commands
> (e.g. -l for link vs. -ls for list) but always stick to the --double-dashes
> for the long version.
> > I think it would be very confusing, and "unique" in a very bad way, to
> drop that convention for the sake of saving a single dash's worth of typing.
> Fair enough (I just saw R. Kern's comment in the same direction). I
> did some more checking of other programs, and indeed -dash is rather
> rare. Points taken.
Yes, I looked around some too at various projects, and the --dash is more
common, so I think
it is a good idea of stick to that.
> Good thing I asked for feedback before touching any code :) Nothing to
> We'll leave support for
> -pylab, -*thread
I think this too is a good idea.
> simply because those are very widely used already, and even listed in
> books in print (like the recent MPL book:
> http://www.packtpub.com/matplotlib-python-development/book). But
> --pylab and --*thread are also there, and all new options will be --
> Thanks for the feedback!
> IPython-dev mailing list
> IPython-dev at scipy.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev