Merge pull request #860 from k-nasa/fix_duplication
Fix duplication with Cargo.toml
This commit is contained in:
commit
88d2f69138
|
@ -2,11 +2,11 @@
|
||||||
name = "mdbook"
|
name = "mdbook"
|
||||||
version = "0.2.4-alpha.0"
|
version = "0.2.4-alpha.0"
|
||||||
authors = [
|
authors = [
|
||||||
"Mathieu David <mathieudavid@mathieudavid.org>",
|
"Mathieu David <mathieudavid@mathieudavid.org>",
|
||||||
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
"Michael-F-Bryan <michaelfbryan@gmail.com>",
|
||||||
"Matt Ickstadt <mattico8@gmail.com>"
|
"Matt Ickstadt <mattico8@gmail.com>"
|
||||||
]
|
]
|
||||||
description = "Create books from markdown files"
|
description = "Creates a book from markdown files"
|
||||||
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html"
|
documentation = "http://rust-lang-nursery.github.io/mdBook/index.html"
|
||||||
repository = "https://github.com/rust-lang-nursery/mdBook"
|
repository = "https://github.com/rust-lang-nursery/mdBook"
|
||||||
keywords = ["book", "gitbook", "rustbook", "markdown"]
|
keywords = ["book", "gitbook", "rustbook", "markdown"]
|
||||||
|
|
|
@ -20,15 +20,14 @@ use std::path::{Path, PathBuf};
|
||||||
|
|
||||||
mod cmd;
|
mod cmd;
|
||||||
|
|
||||||
const NAME: &str = "mdBook";
|
|
||||||
const VERSION: &str = concat!("v", crate_version!());
|
const VERSION: &str = concat!("v", crate_version!());
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
init_logger();
|
init_logger();
|
||||||
|
|
||||||
// Create a list of valid arguments and sub-commands
|
// Create a list of valid arguments and sub-commands
|
||||||
let app = App::new(NAME)
|
let app = App::new(crate_name!())
|
||||||
.about("Creates a book from markdown files")
|
.about(crate_description!())
|
||||||
.author("Mathieu David <mathieudavid@mathieudavid.org>")
|
.author("Mathieu David <mathieudavid@mathieudavid.org>")
|
||||||
.version(VERSION)
|
.version(VERSION)
|
||||||
.setting(AppSettings::GlobalVersion)
|
.setting(AppSettings::GlobalVersion)
|
||||||
|
|
Loading…
Reference in New Issue