Compare commits

..

2 Commits

Author SHA1 Message Date
Ondrej Novak 7772545eb0 pass time as cli option instead of arg 2026-02-19 22:06:05 +01:00
Ondrej Novak 51a9ebaa7c change timezone short opt '-t' to '-z' 2026-02-19 22:05:43 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,7 @@ use std::iter;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Args {
#[arg(short, long)]
#[arg(short = 'z', long)]
pub timezone: Vec<String>,
#[arg(short, long)]
@ -32,6 +32,7 @@ pub struct Args {
#[arg(long)]
pub list: bool,
#[arg(short, long)]
pub time: Option<String>,
}