Wykres commitów

9 Commity (09c59c47042b61e96519e22d451d36d86b37a518)

Autor SHA1 Wiadomość Data
stijn 08b522abac argparse: Implement parse_known_args
This is convenient when components need only to parse a subset of an
application's arguments, and can be implemented with minor changes to
_parse_args: basically just add unknown arguments to a list instead of
raising an exception.
2018-02-02 01:21:32 +02:00
Paul Sokolovsky a55bc676f6 argparse: Update for _collections renamed to ucollections. 2016-05-02 14:08:42 +03:00
Delio Brignoli 7472c8aa78 argparse: PEP8 formatting 2015-10-17 04:47:28 +02:00
Delio Brignoli 5e9dcae281 argparse: Add test and fix support for pos arg with dest and no name. 2015-10-19 00:28:29 +01:00
Delio Brignoli e0aab10144 argparse: Do not print a blank line when description is empty. 2015-10-19 00:28:24 +01:00
Delio Brignoli dd34477222 argparse: Add support for multiple option names to add_argument(). 2015-10-19 00:28:19 +01:00
Paul Sokolovsky fca6f0cc72 argparse: Description arg is optional.
TODO: Make sure that in this case, good help message is printed to user.
2015-10-16 23:02:52 +03:00
Damien George eba0c0ad8d argparse: Initial minimal implementation of argparse.
CPython's argparse needs around 160k heap just for the module, and has
heaps of dependencies.  This minimal version can run in 16k heap and has
only sys and namedtuple dependencies (which are builtin to MicroPython).
2015-06-06 18:10:04 +01:00
Paul Sokolovsky 04fa764cbb argparse: Add dummy module. 2015-05-22 10:40:42 +03:00