fixed the issue can the filename is null
1 files changed, 4 insertions(+), 0 deletions(-) M image2ascii.go
M image2ascii.go => image2ascii.go +4 -0
@@ 27,6 27,10 @@ func init() { func main() { flag.Parse() + if imageFilename == "" { + usage() + return + } // config the options convertOptions := &convert.Options{ Ratio: ratio,