Apply suggestions from code review

some fixes thanks to @adbenitez

Co-Authored-By: Asiel Díaz Benítez <asieldbenitez@gmail.com>
This commit is contained in:
holger krekel
2020-03-07 08:47:36 +01:00
parent d4e1c1b109
commit 6c3a8448cf
2 changed files with 2 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ def run_cmdline(argv=None, account_plugins=None):
if argv is None:
argv = sys.argv
parser = argparse.ArgumentParser(prog="simple-echo")
parser = argparse.ArgumentParser(prog=argv[0] if argv else None)
parser.add_argument("--show-ffi", action="store_true", help="show low level ffi events")
parser.add_argument("--db", action="store", help="database file")
parser.add_argument("--email", action="store", help="email address")