mirror of
https://github.com/danog/ytop.git
synced 2024-11-26 20:15:03 +01:00
update interval cli arg usage
This commit is contained in:
parent
1157eb12f5
commit
338a52f972
@ -108,6 +108,6 @@ OPTIONS:
|
||||
-c, --colorscheme <colorscheme> Set a colorscheme [default: default]
|
||||
-i, --interfaces <interfaces> Comma separated list of network interfaces to show. Prepend an interface with '!'
|
||||
to hide it. 'all' shows all interfaces [default: !tun0]
|
||||
--interval <interval> Duration of interval in seconds between updates of the CPU and Mem widgets
|
||||
[default: 1]
|
||||
--interval <interval> Interval in seconds between updates of the CPU and Mem widgets. Can specify
|
||||
either a whole number or a fraction with a numerator of 1 [default: 1]
|
||||
```
|
||||
|
@ -36,7 +36,7 @@ pub struct Args {
|
||||
#[structopt(short = "i", long = "interfaces", default_value = "!tun0")]
|
||||
pub interfaces: String,
|
||||
|
||||
/// Duration of interval in seconds between updates of the CPU and Mem widgets.
|
||||
/// Interval in seconds between updates of the CPU and Mem widgets. Can specify either a whole number or a fraction with a numerator of 1.
|
||||
#[structopt(long = "interval", default_value = "1")]
|
||||
pub interval: Ratio<u64>,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user