diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2017-12-15 16:26:33 +1300 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2017-12-15 16:26:33 +1300 |
| commit | 1d2cdcff07bc9db090c22699432a0006589abe37 (patch) | |
| tree | 44429e979eee31b516d45438be1339f7656d0502 | |
| parent | a8ae006f2e798e05cfc9ad29b077f75f6078444b (diff) | |
| download | mitmproxy-1d2cdcff07bc9db090c22699432a0006589abe37.tar.gz mitmproxy-1d2cdcff07bc9db090c22699432a0006589abe37.tar.bz2 mitmproxy-1d2cdcff07bc9db090c22699432a0006589abe37.zip | |
commander: sort options for completion
| -rw-r--r-- | mitmproxy/tools/console/commander/commander.py | 1 |
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: |
