From 78ee8e43bbf556da382b233d7b9fcae49f9935ed Mon Sep 17 00:00:00 2001 From: k-nasa Date: Tue, 25 Dec 2018 21:10:07 +0900 Subject: [PATCH 1/3] Fix duplication with Cargo.toml --- src/main.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index dec89cf3..485560f7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -20,15 +20,14 @@ use std::path::{Path, PathBuf}; mod cmd; -const NAME: &str = "mdBook"; const VERSION: &str = concat!("v", crate_version!()); fn main() { init_logger(); // Create a list of valid arguments and sub-commands - let app = App::new(NAME) - .about("Creates a book from markdown files") + let app = App::new(crate_name!()) + .about(crate_description!()) .author("Mathieu David ") .version(VERSION) .setting(AppSettings::GlobalVersion) From 4e8d051bd1d453c360f7ff5ff994acaf296fc5c4 Mon Sep 17 00:00:00 2001 From: k-nasa Date: Tue, 25 Dec 2018 21:10:45 +0900 Subject: [PATCH 2/3] Delete extra space --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 295014f1..c3c4b025 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "mdbook" version = "0.2.3-alpha.0" authors = [ - "Mathieu David ", + "Mathieu David ", "Michael-F-Bryan ", "Matt Ickstadt " ] From ae3f87ad0cece2d3ebba6168794873b0439322bd Mon Sep 17 00:00:00 2001 From: nasa Date: Sun, 20 Jan 2019 15:12:51 +0900 Subject: [PATCH 3/3] fix: Fix Cargo.toml description --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index c3c4b025..28f7414c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Michael-F-Bryan ", "Matt Ickstadt " ] -description = "Create books from markdown files" +description = "Creates a book from markdown files" documentation = "http://rust-lang-nursery.github.io/mdBook/index.html" repository = "https://github.com/rust-lang-nursery/mdBook" keywords = ["book", "gitbook", "rustbook", "markdown"]