You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message seems incorrect, because --test-flag is right and is a known option. Ideally cyclopts should say Unknown option: --test_flag, or maybe test-flag and test_flag should be synonyms.
Version info: cyclopts 2.3.1, python 3.9.18.
The text was updated successfully, but these errors were encountered:
Introduce UnknownOptionError.
BREAKING: Change negative-flag-assignment-exception from ValidationError to generic CycloptsError.
BREAKING: Change exception for unknown option token from ValidationError to UnknownOptionError.
Example code:
Executing with
--test-flag
:The error message seems incorrect, because
--test-flag
is right and is a known option. Ideallycyclopts
should sayUnknown option: --test_flag
, or maybetest-flag
andtest_flag
should be synonyms.Version info:
cyclopts 2.3.1
,python 3.9.18
.The text was updated successfully, but these errors were encountered: