Fix duplication with Cargo.toml
This commit is contained in:
parent
1052ee92e1
commit
78ee8e43bb
|
@ -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 <mathieudavid@mathieudavid.org>")
|
||||
.version(VERSION)
|
||||
.setting(AppSettings::GlobalVersion)
|
||||
|
|
Loading…
Reference in New Issue