diff options
author | Thang Pham <phamducthang1234@gmail.com> | 2024-10-21 20:09:23 -0400 |
---|---|---|
committer | Thang Pham <phamducthang1234@gmail.com> | 2024-10-21 20:09:23 -0400 |
commit | 2da6a91a30aacbfa09ac40692712986034facf68 (patch) | |
tree | 86bd48d6965377f1816cb32b59e4fbc394864556 | |
parent | e707c5411104f67eee535143e8db519f02113e19 (diff) |
-rw-r--r-- | Cargo.lock | 2 | ||||
-rw-r--r-- | hackernews_tui/Cargo.toml | 2 | ||||
-rw-r--r-- | hackernews_tui/src/main.rs | 6 |
3 files changed, 5 insertions, 5 deletions
@@ -655,7 +655,7 @@ dependencies = [ [[package]] name = "hackernews_tui" -version = "0.13.4" +version = "0.13.5" dependencies = [ "anyhow", "clap", diff --git a/hackernews_tui/Cargo.toml b/hackernews_tui/Cargo.toml index 03767b7..38a1de3 100644 --- a/hackernews_tui/Cargo.toml +++ b/hackernews_tui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hackernews_tui" -version = "0.13.4" +version = "0.13.5" authors = ["Thang Pham <phamducthang1234@gmail.com>"] edition = "2021" license = "MIT" diff --git a/hackernews_tui/src/main.rs b/hackernews_tui/src/main.rs index eb66365..de0df4e 100644 --- a/hackernews_tui/src/main.rs +++ b/hackernews_tui/src/main.rs @@ -65,9 +65,9 @@ fn init_logging(log_dir_str: &str) { /// parse command line arguments fn parse_args(config_dir: std::path::PathBuf, cache_dir: std::path::PathBuf) -> ArgMatches { Command::new("hackernews-tui") - .version("0.13.4") - .author("Thang Pham <phamducthang1234@gmail>") - .about("A Terminal UI to browse Hacker News") + .version(env!("CARGO_PKG_VERSION")) + .about(env!("CARGO_PKG_DESCRIPTION")) + .author(env!("CARGO_PKG_AUTHORS")) .arg( Arg::new("auth") .short('a') |