murfel claimed this task. murfel added a comment. Right now replicate_wiki.py uses argparse to parse local arguments. Once handle_args is added to parse global arguments, should it parse local arguments too? If use combination of both handle_args for global and argparse for local arguments then -h would look like
$ python pwb.py scripts/replicate_wiki.py -h Introduction … (given by handle_args) Global arguments … usage: … (given by argparse) positional arguments: … optional arguments: … TASK DETAIL https://phabricator.wikimedia.org/T70664 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. To: murfel Cc: pywikipedia-bugs, zhuyifei1999, Ricordisamoa, jayvdb, murfel _______________________________________________ Pywikipedia-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs
