Tools: ardupilotwaf: sort boards in help text
This commit is contained in:
parent
935840ebb0
commit
1a81da4a26
@ -298,7 +298,7 @@ Please use a replacement build as follows:
|
||||
|
||||
boards = _board_classes.keys()
|
||||
if not ctx.env.BOARD in boards:
|
||||
ctx.fatal("Invalid board '%s': choices are %s" % (ctx.env.BOARD, ', '.join(boards)))
|
||||
ctx.fatal("Invalid board '%s': choices are %s" % (ctx.env.BOARD, ', '.join(sorted(boards, key=str.lower))))
|
||||
_board = _board_classes[ctx.env.BOARD]()
|
||||
return _board
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user