to avoid confuse of output option treatment, changed type json-timeline option
This commit is contained in:
@@ -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<'_> {
|
||||
|
||||
Reference in New Issue
Block a user