Display device count in 'pmbootstrap init'
This commit is contained in:
parent
9d9dc9e541
commit
5cd07c44fb
|
@ -31,7 +31,9 @@ def init(args):
|
||||||
# Device
|
# Device
|
||||||
devices = sorted(pmb.helpers.devices.list(args))
|
devices = sorted(pmb.helpers.devices.list(args))
|
||||||
logging.info("Target device (either an existing one, or a new one for"
|
logging.info("Target device (either an existing one, or a new one for"
|
||||||
" porting). Available: " + ", ".join(devices))
|
" porting).")
|
||||||
|
logging.info("Available (" + str(len(devices)) + "): " +
|
||||||
|
", ".join(devices))
|
||||||
cfg["pmbootstrap"]["device"] = pmb.helpers.cli.ask(args, "Device",
|
cfg["pmbootstrap"]["device"] = pmb.helpers.cli.ask(args, "Device",
|
||||||
None, args.device)
|
None, args.device)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue