summary refs log tree commit diff stats
path: root/python/qemu/qmp/qmp_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qemu/qmp/qmp_shell.py')
-rw-r--r--python/qemu/qmp/qmp_shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qemu/qmp/qmp_shell.py b/python/qemu/qmp/qmp_shell.py
index 988d79c01b..98e684e9e8 100644
--- a/python/qemu/qmp/qmp_shell.py
+++ b/python/qemu/qmp/qmp_shell.py
@@ -202,7 +202,7 @@ class QMPShell(QEMUMonitorProtocol):
 
     def _fill_completion(self) -> None:
         try:
-            cmds = cast(List[Dict[str, str]], self.command('query-commands'))
+            cmds = cast(List[Dict[str, str]], self.cmd('query-commands'))
             for cmd in cmds:
                 self._completer.append(cmd['name'])
         except ExecuteError: