generated from PlexSheep/rs-base
fix: show author and version in help
cargo devel CI / cargo CI (push) Successful in 1m29s
Details
cargo devel CI / cargo CI (push) Successful in 1m29s
Details
This commit is contained in:
parent
8092f2c000
commit
aa7751fcf3
|
@ -15,7 +15,7 @@ use std::time::Duration;
|
||||||
|
|
||||||
/// Make your terminal into a big clock
|
/// Make your terminal into a big clock
|
||||||
#[derive(Parser, Debug, Clone, PartialEq, Eq, Hash)]
|
#[derive(Parser, Debug, Clone, PartialEq, Eq, Hash)]
|
||||||
#[command(help_template = HELP_TEMPLATE)]
|
#[command(help_template = HELP_TEMPLATE, author, version)]
|
||||||
pub struct Clock {
|
pub struct Clock {
|
||||||
#[command(flatten)]
|
#[command(flatten)]
|
||||||
pub verbose: VerbosityLevel,
|
pub verbose: VerbosityLevel,
|
||||||
|
|
Reference in New Issue