Skip to content

--log-level Debug is documented but not accepted with capital "D" #714

Closed
@ArminJo

Description

@ArminJo

Bug Report

Current behavior

board listall -v --log-level Debug

is not accepted, but the usage states:

--log-level string Messages with this level and above will be logged. Valid levels are: Trace, Debug, Info, Warning, Error, Fatal, Panic

instead only

**board listall -v --log-level debug**

with lowercase "d" is accepted.

Please change usage or parser to be consistent.

Environment

  • CLI version (output of arduino-cli version): 1.10.0 Commit: ec5c3ed
  • OS and platform: windows, linux...

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: documentationRelated to documentation for the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions