Skip to content

Commit

Permalink
upgrade clap
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 11, 2022
1 parent d5f8aed commit f54286f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
20 changes: 6 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ migration = ["criner/migration"]
doctest = false

[dependencies]
clap = { version = "3.0.0-rc.4", features = ["derive"] }
clap = { version = "4.0.22", features = ["derive"] }
humantime = "2.1.0"
time = { version = "0.3.5", features = ["parsing", "macros" ] }
criner = { version = "0.3.0", path = "./criner" }
Expand Down
2 changes: 1 addition & 1 deletion src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ pub enum SubCommands {
/// This job runs every 24h, as the database is updated that often.
/// If unset, the job starts right away.
/// Format is HH:MM, e.g. '14:30' for 2:30 pm or 03:15 for quarter past 3 in the morning.
#[clap(long, short = 'd', parse(try_from_str = parse_local_time))]
#[clap(long, short = 'd', value_parser = parse_local_time)]
download_crates_io_database_every_24_hours_starting_at: Option<time::Time>,

/// If set, the reporting stage will only iterate over crates that match the given standard unix glob.
Expand Down

0 comments on commit f54286f

Please sign in to comment.