Skip to content

usage lint

  • Usage: usage lint [-f --format <FORMAT>] [-W --warnings-as-errors] <FILE>
  • Source code: cli/src/cli/lint.rs

Lint a usage spec file for common issues

Arguments

<FILE>

A usage spec file to lint

Flags

-f --format <FORMAT>

Output format

Choices:

  • text
  • json

Default: text

-W --warnings-as-errors

Treat warnings as errors

Licensed under the MIT License. Maintained by @jdx and friends.