diff options
| author | Teddy Wing | 2017-06-03 16:50:12 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-06-03 16:50:12 +0200 | 
| commit | 4a4b8e00ae62ec3898b7e4f590bd4a3660a0f535 (patch) | |
| tree | 281d299775826839bdcdb4e0f92fe57d96097519 | |
| parent | 73d5fa6c6233331c54d9b7a74407f2d17294e233 (diff) | |
| download | timetasker-4a4b8e00ae62ec3898b7e4f590bd4a3660a0f535.tar.bz2 | |
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.
| -rw-r--r-- | main.go | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -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'). | 
