Skip to content

Commit

Permalink
gftools.argparse: Add custom gftool ArgumentParser
Browse files Browse the repository at this point in the history
  • Loading branch information
m4rc1e committed Oct 4, 2024
1 parent 8756256 commit cb7d6ae
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Lib/gftools/argparse.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from argparse import ArgumentParser

class GFArgumentParser(ArgumentParser):

def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.add_argument(
"--show-tracebacks",
action="store_true",
help="Show tracebacks"
)

0 comments on commit cb7d6ae

Please sign in to comment.