mirror of
https://github.com/ClementTsang/bottom.git
synced 2024-09-11 03:35:35 +03: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
@ -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 New Issue
Block a user