From 03e69b3be09e515c445acd5385229bd50518941c Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:21:09 +0000 Subject: [PATCH] bug: fix using clap macro incorrectly, causing broken long help name (#1526) Basically, I did: ``` long = "blah blah blah" ``` but it should have been: ``` long, long_help = "blah blah blah" ``` The former makes the _long help flag_ the description which... well, isn't right. --- src/options/args.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options/args.rs b/src/options/args.rs index 58046113..8bbabb5e 100644 --- a/src/options/args.rs +++ b/src/options/args.rs @@ -95,7 +95,7 @@ pub struct GeneralArgs { long, action = ArgAction::SetTrue, help = "Temporarily shows the time scale in graphs.", - long = "Automatically hides the time scale in graphs after being shown for a brief moment when zoomed \ + long_help = "Automatically hides the time scale in graphs after being shown for a brief moment when zoomed \ in/out. If time is disabled using --hide_time then this will have no effect." )] pub autohide_time: bool,