From 3c9e0adaa9d2fe07b09e18f50fc2751744ba1045 Mon Sep 17 00:00:00 2001 From: DastInDark <2350416+hitenkoku@users.noreply.github.com> Date: Fri, 12 Aug 2022 15:52:25 +0900 Subject: [PATCH] added version number --- src/detections/configs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/detections/configs.rs b/src/detections/configs.rs index 93b4d972..80a6d322 100644 --- a/src/detections/configs.rs +++ b/src/detections/configs.rs @@ -54,11 +54,11 @@ impl Default for ConfigReader<'_> { #[derive(Parser)] #[clap( - name = "Hayabusa 1.5.0-dev", + name = "Hayabusa", usage = "hayabusa.exe [OTHER-ACTIONS] [OPTIONS]", author = "Yamato Security (https://github.com/Yamato-Security/hayabusa) @SecurityYamato)", - help_template = "\n{name}\n{author}\n\n{usage-heading}\n {usage}\n\n{all-args}\n", - // arg_required_else_help(true), + help_template = "\n{name} {version}\n{author}\n\n{usage-heading}\n {usage}\n\n{all-args}\n", + version, term_width = 400 )] pub struct Config {