aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mitmproxy/tools/console/commander/commander.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/commander/commander.py b/mitmproxy/tools/console/commander/commander.py
index c79bc379..bef43a7e 100644
--- a/mitmproxy/tools/console/commander/commander.py
+++ b/mitmproxy/tools/console/commander/commander.py
@@ -27,6 +27,7 @@ class ListCompleter(Completer):
for o in options:
if o.startswith(start):
self.options.append(o)
+ self.options.sort()
self.offset = 0
def cycle(self) -> str: