diff --git a/InteractiveHtmlBom/core/config.py b/InteractiveHtmlBom/core/config.py index ea94484..9fc8005 100644 --- a/InteractiveHtmlBom/core/config.py +++ b/InteractiveHtmlBom/core/config.py @@ -343,7 +343,9 @@ def add_options(cls, parser, version): action='store_true') parser.add_argument('--highlight-pin1', default=cls.highlight_pin1_choices[0], + const=cls.highlight_pin1_choices[1], choices=cls.highlight_pin1_choices, + nargs='?', help='Highlight first pin.') parser.add_argument('--no-redraw-on-drag', help='Do not redraw pcb on drag by default.',