kopia lustrzana https://github.com/micropython/micropython-lib
argparse: Do not print a blank line when description is empty.
rodzic
dd34477222
commit
e0aab10144
|
@ -126,6 +126,7 @@ class ArgumentParser:
|
|||
|
||||
# print full information
|
||||
print()
|
||||
if self.description:
|
||||
print(self.description)
|
||||
if self.pos:
|
||||
print("\npositional args:")
|
||||
|
|
Ładowanie…
Reference in New Issue