From b18281ab266e054b92815dbd3ac03c33d7364d30 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Thu, 6 May 2021 20:16:14 +0200 Subject: [PATCH] pmb.aportgen: fix architecture autocomplete (MR 2054) Previously hitting the tab key wouldn't actually complete the architecture field. --- pmb/aportgen/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/aportgen/device.py b/pmb/aportgen/device.py index c7c81b4a..d21299a5 100644 --- a/pmb/aportgen/device.py +++ b/pmb/aportgen/device.py @@ -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"