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)