@@ -77,13 +77,13 @@ pub struct BasicOptions {
77
77
/// Accumulate rules and categories from left to right on the command-line.
78
78
/// For example `-D correctness -A no-debugger` or `-A all -D no-debugger`.
79
79
/// The categories are:
80
- /// * `correctness` - code that is outright wrong or useless (default)
81
- /// * `suspicious` - code that is most likely wrong or useless
82
- /// * `pedantic` - lints which are rather strict or have occasional false positives
83
- /// * `style` - code that should be written in a more idiomatic way
84
- /// * `nursery` - new lints that are still under development
85
- /// * `restriction` - lints which prevent the use of language and library features
86
- /// * `all` - all the categories listed above except nursery
80
+ /// * `correctness` - code that is outright wrong or useless (default).
81
+ /// * `suspicious` - code that is most likely wrong or useless.
82
+ /// * `pedantic` - lints which are rather strict or have occasional false positives.
83
+ /// * `style` - code that should be written in a more idiomatic way.
84
+ /// * `nursery` - new lints that are still under development.
85
+ /// * `restriction` - lints which prevent the use of language and library features.
86
+ /// * `all` - all the categories listed above except nursery. Does not enable plugins automatically.
87
87
///
88
88
/// Arguments:
89
89
// ^ This shows up on the website but not from the cli's `--help`.
@@ -120,14 +120,14 @@ impl LintFilter {
120
120
#[ derive( Debug , Clone , Bpaf ) ]
121
121
pub struct FixOptions {
122
122
/// Fix as many issues as possible. Only unfixed issues are reported in the output
123
- #[ bpaf( switch) ]
123
+ #[ bpaf( switch, hide_usage ) ]
124
124
pub fix : bool ,
125
125
/// Apply auto-fixable suggestions. May change program behavior.
126
- #[ bpaf( switch) ]
126
+ #[ bpaf( switch, hide_usage ) ]
127
127
pub fix_suggestions : bool ,
128
128
129
129
/// Apply dangerous fixes and suggestions.
130
- #[ bpaf( switch) ]
130
+ #[ bpaf( switch, hide_usage ) ]
131
131
pub fix_dangerously : bool ,
132
132
}
133
133
0 commit comments