From 6c3a8448cfc4e5859d6875b0de4a446c4b05d8ea Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sat, 7 Mar 2020 08:47:36 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit some fixes thanks to @adbenitez Co-Authored-By: Asiel Díaz Benítez --- python/CHANGELOG | 2 +- python/src/deltachat/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/CHANGELOG b/python/CHANGELOG index f972ed346..52daab3ca 100644 --- a/python/CHANGELOG +++ b/python/CHANGELOG @@ -5,7 +5,7 @@ - introduced PerAccount and Global hooks that plugins can implement -- introduced `member_added()` and `member_removed` plugin events. +- introduced `member_added()` and `member_removed()` plugin events. - introduced two documented examples for an echo and a group-membership tracking plugin. diff --git a/python/src/deltachat/__init__.py b/python/src/deltachat/__init__.py index f1e140685..e54a95cbf 100644 --- a/python/src/deltachat/__init__.py +++ b/python/src/deltachat/__init__.py @@ -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")