Skip to content

Commit

Permalink
fix: cargo clippy linting flags need to accept strings (#947)
Browse files Browse the repository at this point in the history
The linting flags `--warn`, `--deny`, `--allow` and `--forbid` have
`string` type rather than `bool`

Signed-off-by: OJarrisonn <[email protected]>
  • Loading branch information
OJarrisonn authored Sep 11, 2024
1 parent fb8901e commit d04eea6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom-completions/cargo/cargo-completions.nu
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@ export extern "cargo clippy" [
--fix # Automatically apply lint suggestions. This flag implies `--no-deps
--version(-V) # Prints version information
--help(-h) # Prints help information
--warn(-W) # Set lint warnings
--allow(-A) # Set lint allowed
--deny(-D) # Set lint denied
--forbid(-F) # Set lint forbidden
--warn(-W): string # Set lint warnings
--allow(-A): string # Set lint allowed
--deny(-D): string # Set lint denied
--forbid(-F): string # Set lint forbidden
--package(-p): string@"nu-complete cargo packages" #Check only the specified packages
--workspace # Check all members in the workspace
--all # Alias for --workspace (deprecated)
Expand Down

0 comments on commit d04eea6

Please sign in to comment.