Fix typo; Tweak hour/minute defaults
This commit is contained in:
parent
9e8008f090
commit
6da16777cf
6
main.go
6
main.go
|
@ -47,8 +47,8 @@ func main() {
|
|||
var targetSecond int
|
||||
|
||||
flag.IntVar(&targetHour, "target-hour", -1, "")
|
||||
flag.IntVar(&targetMinute, "target-minute", -1, "")
|
||||
flag.IntVar(&targetSecond, "target-second", -1, "")
|
||||
flag.IntVar(&targetMinute, "target-minute", 0, "")
|
||||
flag.IntVar(&targetSecond, "target-second", 0, "")
|
||||
|
||||
flag.Parse()
|
||||
|
||||
|
@ -90,7 +90,7 @@ func main() {
|
|||
)
|
||||
}
|
||||
|
||||
fmt.Printf("Output file: %s\nCountdown to: %s\n", filename, untiluntil)
|
||||
fmt.Printf("Output file: %s\nCountdown to: %s\n", filename, until)
|
||||
|
||||
var err error
|
||||
tp := template.New("time")
|
||||
|
|
Loading…
Reference in New Issue