Skip to content

Commit b92f577

Browse files
authored
docs: improve fix flag description (#6175)
1 parent fb3e4b2 commit b92f577

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.golangci.next.reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4495,7 +4495,7 @@ issues:
44954495
# Default: false
44964496
whole-files: true
44974497

4498-
# Fix found issues (if it's supported by the linter).
4498+
# Apply the fixes detected by the linters and formatters (if it's supported by the linter).
44994499
# Default: false
45004500
fix: true
45014501

jsonschema/golangci.next.jsonschema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5064,7 +5064,7 @@
50645064
"examples": ["path/to/patch/file"]
50655065
},
50665066
"fix": {
5067-
"description": "Fix found issues (if it's supported by the linter).",
5067+
"description": "Apply the fixes detected by the linters and formatters (if it's supported by the linter).",
50685068
"type": "boolean",
50695069
"default": false
50705070
},

pkg/commands/flagsets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,5 +138,5 @@ func setupIssuesFlagSet(v *viper.Viper, fs *pflag.FlagSet) {
138138
internal.AddFlagAndBind(v, fs, fs.Bool, "whole-files", "issues.whole-files", false,
139139
color.GreenString("Show issues in any part of update files (requires new-from-rev or new-from-patch)"))
140140
internal.AddFlagAndBind(v, fs, fs.Bool, "fix", "issues.fix", false,
141-
color.GreenString("Fix found issues (if it's supported by the linter)"))
141+
color.GreenString("Apply the fixes detected by the linters and formatters (if it's supported by the linter)"))
142142
}

0 commit comments

Comments
 (0)