diff options
author | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-12-16 18:14:15 +0100 |
---|---|---|
committer | Aleš Mrázek <ales.mrazek@nic.cz> | 2024-12-20 22:24:22 +0100 |
commit | 901bd946f2a26fe1d786ec43b0771be4e0eeb9c5 (patch) | |
tree | e2a8fc8f3fca24b616257998d642a63beaada1c6 /python/knot_resolver/client/commands/debug.py | |
parent | python: client: command: move the getting of completion words to function (diff) | |
download | knot-resolver-901bd946f2a26fe1d786ec43b0771be4e0eeb9c5.tar.xz knot-resolver-901bd946f2a26fe1d786ec43b0771be4e0eeb9c5.zip |
python: client: handle the escape '--' argument better because we need it in completion
Diffstat (limited to 'python/knot_resolver/client/commands/debug.py')
-rw-r--r-- | python/knot_resolver/client/commands/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/knot_resolver/client/commands/debug.py b/python/knot_resolver/client/commands/debug.py index 00853c03..71ce673e 100644 --- a/python/knot_resolver/client/commands/debug.py +++ b/python/knot_resolver/client/commands/debug.py @@ -19,7 +19,7 @@ class DebugCommand(Command): self.sudo: bool = namespace.sudo self.gdb: str = namespace.gdb self.print_only: bool = namespace.print_only - self.gdb_args: List[str] = namespace.extra + self.gdb_args: List[str] = namespace.extra if namespace.extra is not None else [] super().__init__(namespace) @staticmethod |