craigmulligan/sandy

Friendlier message when running without arguments

Closed this issue · 0 comments

Very nice little tool, congrats on the first release.

Running without arguments currently panics.

$ ./sandy
panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]:
main.main()
        /home/hobochild/Code/go/src/github.com/hobochild/sandy/sandy.go:167 +0x3af