From fce464b3deeaf73434c4ef2d8c058557ca109a94 Mon Sep 17 00:00:00 2001 From: tommelt Date: Mon, 2 Mar 2026 08:48:46 +0000 Subject: [PATCH 1/2] bug: allow alias bc in broadcast mode --- src/mdb/mdb_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdb/mdb_shell.py b/src/mdb/mdb_shell.py index 3d5f93f..ecd414a 100644 --- a/src/mdb/mdb_shell.py +++ b/src/mdb/mdb_shell.py @@ -349,7 +349,7 @@ def precmd(self, line: str) -> str: return "broadcast stop" return line - if line == "broadcast stop": + if line == "broadcast stop" or line == "bc stop": return line if self.broadcast_mode: From fe10dca94c584a5a912684abff8e69bcec395ceb Mon Sep 17 00:00:00 2001 From: tommelt Date: Fri, 13 Mar 2026 12:14:34 +0000 Subject: [PATCH 2/2] chore: make broadcast change pythonic Co-authored-by: Joe Wallwork <22053413+joewallwork@users.noreply.github.com> --- src/mdb/mdb_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mdb/mdb_shell.py b/src/mdb/mdb_shell.py index ecd414a..c9426c7 100644 --- a/src/mdb/mdb_shell.py +++ b/src/mdb/mdb_shell.py @@ -349,7 +349,7 @@ def precmd(self, line: str) -> str: return "broadcast stop" return line - if line == "broadcast stop" or line == "bc stop": + if line in ("broadcast stop", "bc stop"): return line if self.broadcast_mode: