Skip to content

Commit

Permalink
Sort interface names, to make documentation reproducible (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Jul 10, 2022
1 parent 5bca2d7 commit 7b1893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion can/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _create_base_argument_parser(parser: argparse.ArgumentParser) -> None:
dest="interface",
help="""Specify the backend CAN interface to use. If left blank,
fall back to reading from configuration files.""",
choices=can.VALID_INTERFACES,
choices=sorted(can.VALID_INTERFACES),
)

parser.add_argument(
Expand Down

0 comments on commit 7b1893d

Please sign in to comment.