generated from PlexSheep/rs-base
docs: document that durations are only accurately honored to seconds
This commit is contained in:
parent
f6c41f995c
commit
45b118eb3e
|
@ -69,9 +69,13 @@ pub struct Clock {
|
||||||
#[clap(short = 'o', long)]
|
#[clap(short = 'o', long)]
|
||||||
pub hour: bool,
|
pub hour: bool,
|
||||||
/// show a time bar that tracks progress of a custom duration
|
/// show a time bar that tracks progress of a custom duration
|
||||||
|
///
|
||||||
|
/// Precision: only to seconds
|
||||||
#[clap(short, long, value_parser = humantime::parse_duration)]
|
#[clap(short, long, value_parser = humantime::parse_duration)]
|
||||||
pub custom: Option<std::time::Duration>,
|
pub custom: Option<std::time::Duration>,
|
||||||
/// show a time bar that tracks progress of a custom duration without resetting
|
/// show a time bar that tracks progress of a custom duration without resetting
|
||||||
|
///
|
||||||
|
/// Precision: only to seconds
|
||||||
#[clap(short = 'u', long, value_parser = humantime::parse_duration)]
|
#[clap(short = 'u', long, value_parser = humantime::parse_duration)]
|
||||||
pub countdown: Option<std::time::Duration>,
|
pub countdown: Option<std::time::Duration>,
|
||||||
|
|
||||||
|
|
Reference in New Issue