summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xargparse-html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/argparse-html.py b/argparse-html.py
index 53082a7..ebb1c57 100755
--- a/argparse-html.py
+++ b/argparse-html.py
@@ -176,7 +176,7 @@ def do_work(cfg):
def main():
""" Main function """
cfg = parse_cmd_line()
- if cfg.status:
+ if cfg.config:
show_config(cfg)
else:
do_work(cfg)