Apt-get help is now much more like apt (#1031)

* Apt-get help is now much more like apt

* Fix tests

* Really fix the tests
This commit is contained in:
David Hart
2020-01-05 22:53:09 +00:00
committed by Vladimir Iakovlev
parent eb60900330
commit b28ece0f34
2 changed files with 43 additions and 2 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ def _parse_apt_get_and_cache_operations(help_text_lines):
return
yield line.split()[0]
elif line.startswith('Commands:'):
elif line.startswith('Commands:') \
or line.startswith('Most used commands:'):
is_commands_list = True