aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-05-25 17:05:07 +0000
committerterminaldweller <thabogre@gmail.com>2022-05-25 17:05:07 +0000
commit98cc484786ad9b0601133138e23a084522fbfc46 (patch)
tree9ef8dcf874ece1d4aa93621e5ba84f0d6c357b1b /python
parentupdate (diff)
downloadscripts-98cc484786ad9b0601133138e23a084522fbfc46.tar.gz
scripts-98cc484786ad9b0601133138e23a084522fbfc46.zip
update
Diffstat (limited to 'python')
-rwxr-xr-xpython/main.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/python/main.py b/python/main.py
index 6649cb2..b68aa5b 100755
--- a/python/main.py
+++ b/python/main.py
@@ -16,12 +16,15 @@ class Argparser(object):
def __init__(self):
parser = argparse.ArgumentParser()
parser.add_argument("--string", type=str, help="string")
- parser.add_argument("--bool", action="store_true",
- help="bool", default=False)
- parser.add_argument("--dbg", action="store_true",
- help="debug", default=False)
+ parser.add_argument(
+ "--bool", action="store_true", help="bool", default=False
+ )
+ parser.add_argument(
+ "--dbg", action="store_true", help="debug", default=False
+ )
self.args = parser.parse_args()
+
# write code here