rename --json and require -o

This commit is contained in:
Yamato Security
2022-08-22 07:55:36 +09:00
parent b8ddf2e499
commit 16191d2824

View File

@@ -224,8 +224,8 @@ pub struct Config {
#[clap(help_heading = Some("OTHER-ACTIONS"), long = "set-default-profile", value_name = "PROFILE")]
pub set_default_profile: Option<String>,
/// Output result in JSON format
#[clap(help_heading = Some("OTHER-ACTIONS"), short = 'j', long = "json-timeline")]
/// Save the timeline in JSON format (ex: -j -o results.json)
#[clap(help_heading = Some("OUTPUT"), short = 'j', long = "json", requires = "output")]
pub json_timeline: bool,
}