Accept stdin if no non-flag args are provided

Makes it more usable in scripts, makefiles etc.

Also `go fmt` the whole tree. Could have saved a confusing diff if that
have been used in the first place.