On 8/25/14, Merlijn van Deen <[email protected]> wrote:
> On 25 August 2014 13:50, Amir Ladsgroup <[email protected]> wrote:
>
>> No, zip <http://linux.about.com/od/commands/a/blcmdl1_zipx.htm> and rar
>> <http://comptb.cects.com/using-the-winrar-command-line-tools-in-windows/>
>> both use standard system (note that -r is standard, -
>> *recurse is not) *
>>
>
> No, they don't (but I was also wrong in saying we use the same system they
> do). Zip has a concept of 'short' and 'long' options, but not in the same
> sense unix programs do. For zip -dc is very different than zip -d -c, while
> in the unix way, la -la is equivalent to ls -l -a.
>
> Rar doesn't have a concept of 'long' options - it has various lengths of
> options, all starting with a single dash, /and/ commands that do not take a
> dash.
>
> About the leaning system, I think we can keep compatibility for a while and
>> start deprecate them then. and It's easier to use -p instead of -page ;)
>>
> Is it? Or is it instead of -prefixindex? Or instead of -put_throttle? And
> even if it were easier to use, I don't find that a very convincing argument
> to force people to change their habits.

prefixindex can be -pi and -putthrottle already is using -pt as an
easier option.
My main proposal is that we start to accept -p and --page for a while
and after like one year we start to deprecate -page.
No matter what we want to follow, we need to standardize our argument
parsing system (using argparse).
>
> Merlijn
>

Best
-- 
Amir

_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to