We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367b49b commit 386f34dCopy full SHA for 386f34d
main.go
@@ -86,7 +86,7 @@ func main() {
86
os.Exit(1)
87
}
88
89
- if len(files) == 0 {
+ if len(files) == 0 && len(inputFile) == 0 {
90
fmt.Fprintf(os.Stderr, "no file specified\n\n")
91
flag.Usage()
92
0 commit comments