4 Commits

Author SHA1 Message Date
yo
a1892cbe37 Bugfix when no input file specified 2023-09-11 16:14:33 +02:00
yo
9b849fad3a v0.6 2023-09-11 16:09:21 +02:00
yo
e9c7c7b744 Revert "v0.6"
This reverts commit 74ad307bd1.
2023-09-11 16:08:20 +02:00
yo
74ad307bd1 v0.6 2023-09-11 16:05:39 +02:00

View File

@ -33,7 +33,7 @@ import (
)
const (
version = "0.5.9c"
version = "0.6.1"
)
var (
@ -84,6 +84,10 @@ func main() {
}
args := os.Args
if len(os.Args) < 2 {
pflag.Usage()
os.Exit(1)
}
filename := args[len(args)-1]
var f *os.File