Skip to content
Snippets Groups Projects
Unverified Commit b18281ab authored by Luca Weiss's avatar Luca Weiss Committed by Alexey Minnekhanov
Browse files

pmb.aportgen: fix architecture autocomplete (MR 2054)

Previously hitting the tab key wouldn't actually complete the
architecture field.
parent edf43916
No related branches found
No related tags found
1 merge request!2054pmb.aportgen: don't suggest armhf and fix auto complete for device architecture
Pipeline #190286 passed
......@@ -16,7 +16,7 @@ def ask_for_architecture(args):
architectures.remove("armhf")
while True:
ret = pmb.helpers.cli.ask(args, "Device architecture", architectures,
architectures[0])
architectures[0], complete=architectures)
if ret in architectures:
return ret
logging.fatal("ERROR: Invalid architecture specified. If you want to"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment