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 full information
|
||||||
print()
|
print()
|
||||||
|
if self.description:
|
||||||
print(self.description)
|
print(self.description)
|
||||||
if self.pos:
|
if self.pos:
|
||||||
print("\npositional args:")
|
print("\npositional args:")
|
||||||
|
|
Ładowanie…
Reference in New Issue