diff options
author | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-06-21 16:24:43 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <pochu@debian.org> | 2023-06-27 10:33:04 +0200 |
commit | 242c95bd11dc1fb5c79156771ec7634d981351ae (patch) | |
tree | 5724cc490ea7d4a59a2acf17383814572b382017 /bin | |
parent | bf9fdf3059cb0afbbe91a0f17f4bf1eb206f8993 (diff) |
check-new-issues: autocomplete r (report) command
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/check-new-issues | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/check-new-issues b/bin/check-new-issues index 55e0e3098a..f87ecb7f7f 100755 --- a/bin/check-new-issues +++ b/bin/check-new-issues @@ -719,8 +719,10 @@ def complete_line(text, state): candidates = '<end-of-life> <unfixed> <removed> <not-affected> <ignored> <postponed> <unimportant> <itp>'.split() else: candidates = ['(unimportant)', '(low)', '(medium)', '(high)' ] - #else: - # XXX + elif first == 'r': + if (len(words) == 1 and not being_completed) or \ + (len(words) == 2 and being_completed): + candidates = list(seen_pkgs.keys()) if being_completed: # match options with portion of input |