to avoid confuse of output option treatment, changed type json-timeline option

This commit is contained in:
DastInDark
2022-08-12 16:27:41 +09:00
parent be0b69a535
commit 4441d52a08
2 changed files with 17 additions and 6 deletions
+2 -2
View File
@@ -225,8 +225,8 @@ pub struct Config {
pub set_default_profile: Option<String>,
/// Output result in JSON format
#[clap(help_heading = Some("OTHER-ACTIONS"), short = 'j', long = "json-timeline")]
pub json_timeline: bool,
#[clap(help_heading = Some("OTHER-ACTIONS"), short = 'j', long = "json-timeline", value_name = "FILE")]
pub json_timeline: Option<PathBuf>,
}
impl ConfigReader<'_> {