Added output JSON format feature #654

This commit is contained in:
DastInDark
2022-08-21 00:59:12 +09:00
parent 28799894b5
commit f1b1d919dc
2 changed files with 79 additions and 63 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", value_name = "FILE")]
pub json_timeline: Option<PathBuf>,
#[clap(help_heading = Some("OTHER-ACTIONS"), short = 'j', long = "json-timeline")]
pub json_timeline: bool,
}
impl ConfigReader<'_> {