diff options
| author | Anthon van der Neut <anthon@mnt.org> | 2017-07-18 09:57:03 +0200 |
|---|---|---|
| committer | Anthon van der Neut <anthon@mnt.org> | 2017-07-18 09:57:03 +0200 |
| commit | 61acf236b69110f1e40800cd7d229706335a8ecb (patch) | |
| tree | aa7b11d87544a67960b6e76ad50d862feca9732b /example | |
| parent | 5d14025ccf69c3002e0aa1ab4954481584c1db6f (diff) | |
| download | ruamel.std.argparse-61acf236b69110f1e40800cd7d229706335a8ecb.tar.gz | |
glob matchin on plugin relative to module0.8.1
Diffstat (limited to 'example')
| -rw-r--r-- | example/smartformatter.py | 1 |
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, |
