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:
committed by
Vladimir Iakovlev
parent
eb60900330
commit
b28ece0f34
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user