Re: [Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Travis Briggs
Let me just chime in here as someone who recently started using pywikibot. I was very confused by the argument passing style, especially the use of a colon to delimit the name of the argument from its value. I questioned why it was like this and thought about how it would be nicer if it followed s

Re: [Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Merlijn van Deen
On 25 August 2014 13:50, Amir Ladsgroup wrote: > No, zip and rar > > both use standard system (note that -r is standard, - > *recurse is not) * > No, they don't (but

Re: [Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Amir Ladsgroup
No, zip and rar both use standard system (note that -r is standard, - *recurse is not) * About the leaning system, I think we can keep compatibility for a while and sta

Re: [Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Merlijn van Deen
On 25 August 2014 13:00, Amir Ladsgroup wrote: > Hello, > pywikibot doesn't use standard arguments and argument parsing > It doesn't do what /unix/ considers standard. However, we use the same system as e.g. rar and zip. What's the advantage of switching to a new system that will force every us

[Pywikipedia-l] Standard argument parsing

2014-08-25 Thread Amir Ladsgroup
Hello, pywikibot doesn't use standard arguments and argument parsing For example a standard input should be like this: python pwb.py replace "something" "something else" --page="python" --always or python pwb.py replace "something" "something else" --p "python" -a And in back-end, pywikibot uses s