feat: add -yflag alias for download command
This commit is contained in:
@@ -12,7 +12,7 @@ fn parse_args() -> Result<Args, pico_args::Error> {
|
||||
let mut args = pico_args::Arguments::from_env();
|
||||
Ok(Args {
|
||||
day: args.free_from_str()?,
|
||||
year: args.opt_value_from_str("--year")?,
|
||||
year: args.opt_value_from_str(["-y", "--year"])?,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user