Compare commits
2 Commits
9394059d5f
...
bac4079c4c
| Author | SHA1 | Date |
|---|---|---|
|
|
bac4079c4c | |
|
|
4a2794c724 |
|
|
@ -11,6 +11,7 @@ use std::error::Error;
|
|||
use std::fmt;
|
||||
use std::iter;
|
||||
|
||||
/// Simple program to show the time in different timezones
|
||||
#[derive(Parser, Debug)]
|
||||
#[command(version, about, long_about = None)]
|
||||
pub struct Args {
|
||||
|
|
@ -20,6 +21,10 @@ pub struct Args {
|
|||
#[arg(short, long)]
|
||||
pub date: Option<String>,
|
||||
|
||||
/// number of preceding and succeeding time records in the timetable
|
||||
#[arg(short, long, default_value_t = 5)]
|
||||
pub padding: i8,
|
||||
|
||||
#[arg(short, long, default_value = "Local")]
|
||||
pub local: String,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue