summaryrefslogtreecommitdiff
path: root/example/smartformatter.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-07-18 09:57:03 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-07-18 09:57:03 +0200
commit61acf236b69110f1e40800cd7d229706335a8ecb (patch)
treeaa7b11d87544a67960b6e76ad50d862feca9732b /example/smartformatter.py
parent5d14025ccf69c3002e0aa1ab4954481584c1db6f (diff)
downloadruamel.std.argparse-61acf236b69110f1e40800cd7d229706335a8ecb.tar.gz
glob matchin on plugin relative to module0.8.1
Diffstat (limited to 'example/smartformatter.py')
-rw-r--r--example/smartformatter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/smartformatter.py b/example/smartformatter.py
index a64174f..c0f45f1 100644
--- a/example/smartformatter.py
+++ b/example/smartformatter.py
@@ -7,6 +7,7 @@ import argparse
def exit(self, *args, **kw):
pass
+
argparse.ArgumentParser.exit = exit
# the 'D|....' in the second pass triggers generating defaults for all entries,