diff --git a/Cargo.lock b/Cargo.lock index ed93dd9..770d9dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "epub2mdbook" -version = "0.12.0" +version = "0.13.0" dependencies = [ "clap", "epub", diff --git a/Cargo.toml b/Cargo.toml index 218cda3..b18a195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epub2mdbook" -version = "0.12.0" +version = "0.13.0" edition = "2024" description = "A tool to convert EPUB files to MDBook format" authors = ["Maverick Liu "] diff --git a/src/main.rs b/src/main.rs index d4b009b..77ac6d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,9 +6,8 @@ use epub2mdbook::{convert_epub_to_mdbook, error::Error}; #[derive(Parser)] struct Args { /// The path to the input EPUB file - #[clap(short, long)] input_epub: PathBuf, - /// The path to the output directory, working directory by default + /// The path to the output directory #[clap(short, long, default_value = ".")] output_dir: PathBuf, }