1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00
This commit is contained in:
mgechev 2018-01-26 20:57:51 -08:00
parent 5ec3daa762
commit 22d1e33541

16
main.go
View File

@ -78,6 +78,22 @@ func normalizeConfig(config *lint.Config) {
}
}
const usage = `
Welcome to:
_ __ _____ _(_)__ _____
| '__/ _ \ \ / / \ \ / / _ \
| | | __/\ V /| |\ V / __/
|_| \___| \_/ |_| \_/ \___|
Usage:
revive [flags] <Go file or directory> ...
Flags:
-c string path to the configuration TOML file.
-e string glob which specifies files to be excluded.
-f string formatter to be used for the output.
-h output this screen.
`
func main() {
src := `
package p