--option=value
arguments are ignored (equal sign instead of space between long option and value)
#1100
Labels
bug
Something isn't working
What happened?
I noticed that Robocop wasn't following the config I specified when I used
--argumentfile
. See below for a minimal reproducible example.What command/code did you try to run?
With equal sign:
❯ robocop --argumentfile=/path/to/config . -vv No config file found or configuration is empty. Using default configuration ...
Without equal sign:
❯ robocop --argumentfile /path/to/config . -vv Loaded configuration from /path/to/config ...
What is the full error message?
See above:
No config file found or configuration is empty. Using default configuration
What did you expect to happen instead?
--option=value
and--option value
should behave the same. I didn't test options beside--argumentfile
but I would assume the same bug is present for any long option. Note thatrobotidy
(and other tools using Python's defaultargparse
config) accepts both--option=value
and--option value
.Operating System
No response
Robocop version
5.0.4
The text was updated successfully, but these errors were encountered: