kopia lustrzana https://github.com/micropython/micropython-lib
argparse: Description arg is optional.
TODO: Make sure that in this case, good help message is printed to user.pull/46/head
rodzic
b0f8d85a62
commit
fca6f0cc72
|
@ -61,7 +61,7 @@ class _Arg:
|
|||
assert False
|
||||
|
||||
class ArgumentParser:
|
||||
def __init__(self, *, description):
|
||||
def __init__(self, *, description=""):
|
||||
self.description = description
|
||||
self.opt = []
|
||||
self.pos = []
|
||||
|
|
Ładowanie…
Reference in New Issue