mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-24 21:23:08 +00:00
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.
This commit is contained in:
parent
9364955bcd
commit
03e69b3be0
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue