<#21426 Value mismatch for the option `level`> Iss...
# github-notifications
c
#21426 Value mismatch for the option `level` Issue created by bdabelow Describe the bug Running pants with
-l=debug
(or apparently any value other than info) causes:
Copy code
08:22:29.52 [WARN] Found differences between the new native options parser and the legacy options parser in scope [GLOBAL]:

- Value mismatch for the option `level`:
    Legacy value: <http://LogLevel.INFO|LogLevel.INFO> of type <enum 'LogLevel'>, from source HARDCODED
    Native value: LogLevel.DEBUG of type <enum 'LogLevel'>, from source FLAG
I have used
pants -l=debug help global
to reproduce, but also happens with other commands. The error does not occur when using the long form
--level=<value>
Pants version Can reproduce with 2.22.0 and 2.23.0a0. OS Linux pantsbuild/pants