From cb265a9d9e8b6c320f2ca9e6c4de8c19552834c8 Mon Sep 17 00:00:00 2001 From: NA Date: Fri, 26 Jan 2024 19:05:53 +0000 Subject: [PATCH] Updated args. --- src/library.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/library.rs b/src/library.rs index eea17ea..aab8a6d 100644 --- a/src/library.rs +++ b/src/library.rs @@ -20,7 +20,7 @@ mod misc; #[derive(Args, Debug)] pub struct AudiobookArgs { /// Disable the generation of chapter titles in the audio file. Useful to avoid chapter titles appearing twice. - #[arg(short, long)] + #[arg(short='c', long)] pub no_chapter_titles: bool, /// Split the novel into multiple audio files by chapter. @@ -47,11 +47,11 @@ pub struct HtmlArgs { #[derive(Args, Debug)] pub struct MarkdownArgs { /// Disable the generation of chapter titles. Useful to avoid chapter titles appearing twice. - #[arg(short, long)] + #[arg(short='c', long)] pub no_chapter_titles: bool, /// Disables the inclusion of html image tags in the markdown. - #[arg(short='i', long)] + #[arg(short, long)] pub no_image_tags: bool, }