Skip to content

Commit

Permalink
Make message same for all commands, fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
YamatoSecurity committed May 7, 2023
1 parent 1a11732 commit 2b8dcc3
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions src/detections/configs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -487,8 +487,8 @@ fn check_thread_number(config: &Config) -> Option<usize> {
#[derive(Subcommand, Clone, Debug)]
pub enum Action {
#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe csv-timeline <INPUT> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe csv-timeline <INPUT> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 290
Expand All @@ -497,8 +497,8 @@ pub enum Action {
CsvTimeline(CsvOutputOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe json-timeline <INPUT> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe json-timeline <INPUT> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 360
Expand All @@ -507,8 +507,8 @@ pub enum Action {
JsonTimeline(JSONOutputOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe logon-summary <INPUT> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe logon-summary <INPUT> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 383
Expand All @@ -517,8 +517,8 @@ pub enum Action {
LogonSummary(LogonSummaryOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe metrics <INPUT> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe metrics <INPUT> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 390
Expand All @@ -527,8 +527,8 @@ pub enum Action {
Metrics(MetricsOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe pivot-keywords-list <INPUT> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe pivot-keywords-list <INPUT> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 420
Expand All @@ -537,8 +537,8 @@ pub enum Action {
PivotKeywordsList(PivotKeywordOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n hayabusa.exe search <INPUT> <--keywords \"<KEYWORDS>\" OR --regex \"<REGEX>\"> [OPTIONS]\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe search <INPUT> <--keywords \"<KEYWORDS>\" OR --regex \"<REGEX>\"> [OPTIONS]\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 450
Expand All @@ -547,8 +547,8 @@ pub enum Action {
Search(SearchOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 470
Expand All @@ -557,8 +557,8 @@ pub enum Action {
UpdateRules(UpdateOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 380
Expand All @@ -567,8 +567,8 @@ pub enum Action {
LevelTuning(LevelTuningOption),

#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n {usage}\n\n{all-args}",
term_width = 400,
disable_help_flag = true,
display_order = 451
Expand Down Expand Up @@ -1162,8 +1162,8 @@ pub struct JSONOutputOption {

#[derive(Parser, Clone, Debug)]
#[clap(
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 \"Golden Week Release\"\n{author-with-newline}\n{usage-heading}\n hayabusa.exe <COMMAND> [OPTIONS]\n hayabusa.exe help <COMMAND>\n\n{all-args}{options}",
author = "Yamato Security (https://github.com/Yamato-Security/hayabusa - @SecurityYamato)",
help_template = "\nHayabusa v2.5.0 - Golden Week Release\n{author-with-newline}\n{usage-heading}\n hayabusa.exe <COMMAND> [OPTIONS]\n hayabusa.exe help <COMMAND>\n\n{all-args}{options}",
term_width = 400,
disable_help_flag = true
)]
Expand Down

0 comments on commit 2b8dcc3

Please sign in to comment.