Increase default --range by one day

This commit is contained in:
Joscha 2022-05-04 11:17:18 +02:00
parent 972a590ba9
commit a63529b972
2 changed files with 2 additions and 1 deletions

View file

@ -6,6 +6,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed ### Changed
- Birthdays for current day are now highlighted - Birthdays for current day are now highlighted
- Default value for `--range` argument
### Fixed ### Fixed
- `--date` accepting incomplete expressions - `--date` accepting incomplete expressions

View file

@ -33,7 +33,7 @@ pub struct Opt {
#[structopt(short, long, default_value = "t")] #[structopt(short, long, default_value = "t")]
date: String, date: String,
/// Range of days to focus on /// Range of days to focus on
#[structopt(short, long, default_value = "t-2d--t+13d")] #[structopt(short, long, default_value = "t-2d--t+2w")]
range: String, range: String,
#[structopt(subcommand)] #[structopt(subcommand)]
command: Option<Command>, command: Option<Command>,