Skip to content

Commit

Permalink
feat: add --no-global
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Feb 22, 2024
1 parent 84b539e commit 3a812b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/vale/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ func init() {
pflag.BoolVar(&Flags.Sorted, "sort", false, "sort files by their name in output")
pflag.BoolVar(&Flags.Normalize, "normalize", false, "replace each path separator with a slash ('/')")
pflag.BoolVar(&Flags.Relative, "relative", false, "return relative paths")
pflag.BoolVar(&Flags.IgnoreGlobal, "no-global", false, "ignore global configuration")
pflag.BoolVar(&Flags.IgnoreGlobal, "no-global", false, "Don't load the global configuration.")
}
1 change: 0 additions & 1 deletion cmd/vale/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ var hidden = []string{
"sources",
"built",
"minAlertLevel",
"no-global",

// API stuff
"tag",
Expand Down

0 comments on commit 3a812b3

Please sign in to comment.