diff --git a/main.go b/main.go index 695e96e..80a31a5 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,7 @@ func main() { versionFlag = flag.Bool("version", false, "Print binary version") month = flags.Monthlist("month", "1 to 12") weekday = flags.Weekdaylist("weekday", "mo,tu,we,th,fr,sa,su") - day = flags.Intlist("day", "0 to 31", 0, 31) + day = flags.Intlist("day", "1 to 31", 1, 31) hour = flags.Intlist("hour", "0 to 23", 0, 23) minute = flags.Intlist("minute", "0 to 59", 0, 59) second = flags.Intlist("second", "0 to 59", 0, 59) diff --git a/readme.md b/readme.md index 139b7a2..3aea275 100644 --- a/readme.md +++ b/readme.md @@ -46,7 +46,7 @@ Thanks to [runwhen](http://code.dogmap.org/runwhen/) for inspiration. Flags: -day value - 0 to 31 + 1 to 31 -hour value 0 to 23 -minute value @@ -56,7 +56,7 @@ Thanks to [runwhen](http://code.dogmap.org/runwhen/) for inspiration. -second value 0 to 59 -silent - Surpress all output + Suppress all output -version Print binary version -weekday value