From 6e93045d36e18623d9fe2a4bb6ddaec7e53ec73f Mon Sep 17 00:00:00 2001 From: Giacomo Bagnoli Date: Tue, 30 Aug 2022 21:50:27 +0100 Subject: [PATCH] Add link to wikipedia article for available tzs Closes #2. --- README.md | 4 ++++ src/main.rs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef1f5f1..01d7435 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,10 @@ Usage See `tzbuddy --help` for all available options. +tzbuddy uses timezones from the [IANA database](http://www.iana.org/time-zones). +A list of available timezones can be found on +[wikipedia](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones). + Prior to version `0.3`, `tzbuddy` did not support configuration files, and you had to create an alias on the shell. diff --git a/src/main.rs b/src/main.rs index c72fe1a..d23b69e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,7 +20,8 @@ struct TimezoneHours { #[clap(version=clap::crate_version!())] #[clap(about=clap::crate_description!())] struct Cli { - /// Which timezone(s) to display + /// Which timezone(s) to display. + /// List at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones #[clap(short = 'z', long = "tz")] timezones: Vec, /// Do not order timezones