Commit c921b071 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Fix bug: Help is not shown when running without any subcommand

parent 9139aefe
......@@ -9,6 +9,7 @@ import tempfile
def main():
parser = argparse.ArgumentParser(description='Make bioinformatic observations on aminoacid sequences')
subparsers = parser.add_subparsers()
info_parser = subparsers.add_parser('info')
......@@ -28,8 +29,12 @@ def main():
args = parser.parse_args()
config = load_config()
args.parser = parser
args.func(args, config)
def help(args, config):
def info(args, config):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment