From 11af345ea1aa6e8244cafd0a033a26db4b3a2103 Mon Sep 17 00:00:00 2001 From: ClementTsang Date: Mon, 16 Sep 2019 23:16:43 -0400 Subject: [PATCH] Moved description to cargo.toml. --- Cargo.toml | 3 ++- src/main.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f1535baf..2de34917 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,9 +4,10 @@ version = "0.1.0-alpha.1" authors = ["ClementTsang "] edition = "2018" repository = "https://github.com/ClementTsang/bottom" -keywords = ["cli", "monitor", "process", "system"] +keywords = ["cli", "monitoring-tool", "process", "system", "top"] license = "MIT" categories = ["command-line-utilities"] +description = "A graphical top clone." # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/main.rs b/src/main.rs index 5e1546b0..9e533c93 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ fn main() -> error::Result<()> { (name: crate_name!()) (version: crate_version!()) (author: crate_authors!()) - (about: "A graphical top clone.") + (about: crate_description!()) //(@arg THEME: -t --theme +takes_value "Sets a colour theme.") (@arg AVG_CPU: -a --avgcpu "Enables showing the average CPU usage.") //(@arg DEBUG: -d --debug "Enables debug mode.") // TODO: This isn't done yet!