diff --git a/Cargo.toml b/Cargo.toml index aa5129e4..8e859f7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,11 +2,11 @@ name = "mdbook" version = "0.2.4-alpha.0" authors = [ - "Mathieu David ", + "Mathieu David ", "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"] 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)