summaryrefslogtreecommitdiff
path: root/src/pyssg/arg_parser.py
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2022-04-17 20:58:13 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2022-04-17 20:58:13 -0600
commitdba12a02cc33b45fc9cc1395ee89f317ccf8da96 (patch)
tree5cfab03f37b3ba87820d1aa3ef20be422fde0a18 /src/pyssg/arg_parser.py
parent6bec182703885761699f6d53bc9034933b03197e (diff)
add debug flag, minor fix in readme
Diffstat (limited to 'src/pyssg/arg_parser.py')
-rw-r--r--src/pyssg/arg_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pyssg/arg_parser.py b/src/pyssg/arg_parser.py
index 90fb8c1..ec150fb 100644
--- a/src/pyssg/arg_parser.py
+++ b/src/pyssg/arg_parser.py
@@ -34,6 +34,9 @@ def get_parsed_arguments() -> Namespace:
action='store_true',
help='''force building all pages and not only the
updated ones''')
+ parser.add_argument('--debug',
+ action='store_true',
+ help='''change logging level from info to debug''')
# really not needed, too much bloat and case scenarios to check for,
# instead, just read from config file or default config file
"""