Skip to content

Commit 5beb871

Browse files
set-softqu1ck
authored andcommitted
Command line compatibility with <2.7.0
- highlight-pin1 with no option support
1 parent fd7ad51 commit 5beb871

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

InteractiveHtmlBom/core/config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,9 @@ def add_options(cls, parser, version):
343343
action='store_true')
344344
parser.add_argument('--highlight-pin1',
345345
default=cls.highlight_pin1_choices[0],
346+
const=cls.highlight_pin1_choices[1],
346347
choices=cls.highlight_pin1_choices,
348+
nargs='?',
347349
help='Highlight first pin.')
348350
parser.add_argument('--no-redraw-on-drag',
349351
help='Do not redraw pcb on drag by default.',

0 commit comments

Comments
 (0)