master
Jordan Orelli 10 years ago
parent 4e9169dda0
commit d135ad30c5

@ -0,0 +1,22 @@
package main
import (
"flag"
"fmt"
"io"
"os"
)
func check(r io.Reader) {
_, err := parse(r)
if err != nil {
fmt.Fprintf(os.Stderr, "%s\n", err)
}
}
func main() {
flag.Parse()
if flag.NArg() == 0 {
check(os.Stdin)
}
}
Loading…
Cancel
Save