From 4a4b8e00ae62ec3898b7e4f590bd4a3660a0f535 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 3 Jun 2017 16:50:12 +0200 Subject: main.go: Add a short version of the --date argument Forgot to do this in 8d802bff08826523371ab5e951d85d0c0396ccc8. Also, the reason why I made --description's short form `-m` is because I wanted `-d` for date. The `-m` is supposed to be like "message", like in git-commit. --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index 625f075..e655967 100644 --- a/main.go +++ b/main.go @@ -40,6 +40,7 @@ func main() { Default("7"). Int() date := kingpin.Flag("date", "Date when work was done (e.g. 2017-01-31)"). + Short('d'). String() description := kingpin.Flag("description", "Description of work."). Short('m'). -- cgit v1.2.3