From 16191d2824c36f640bd8abe735b5673b9d0636c7 Mon Sep 17 00:00:00 2001 From: Yamato Security <71482215+YamatoSecurity@users.noreply.github.com> Date: Mon, 22 Aug 2022 07:55:36 +0900 Subject: [PATCH] rename --json and require -o --- src/detections/configs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 43929d2e..b2310ef8 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -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, - /// 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, }