Skip to content

Commit 1664cc1

Browse files
authored
chore(deps): bump clap and anyhow (#121)
chore(deps): bump clap from 3.0.14 to 3.1.3 chore(deps): bump anyhow from 1.0.53 to 1.0.55
1 parent 9f3578c commit 1664cc1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ github-actions = { repository = "sassman/t-rec-rs", branch = "main", workflow =
1919
maintenance = { status = "actively-developed" }
2020

2121
[dependencies]
22-
anyhow = "1.0.53"
22+
anyhow = "1.0.55"
2323
tempfile = "3.3.0"
2424
rayon = "1.5.1"
2525
log = "0.4.14"
@@ -28,7 +28,7 @@ simplerand = "1.3.0"
2828
humantime = "2.1.0"
2929

3030
[dependencies.clap]
31-
version = "3.0.14"
31+
version = "3.1.3"
3232
features = ["cargo"]
3333

3434
[dependencies.image]

src/cli.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
use clap::{crate_authors, crate_description, crate_version, App, AppSettings, Arg, ArgMatches};
1+
use clap::{crate_authors, crate_description, crate_version, Arg, ArgMatches, Command};
22

33
pub fn launch() -> ArgMatches {
4-
App::new("t-rec")
4+
Command::new("t-rec")
5+
.allow_missing_positional(true)
56
.version(crate_version!())
67
.author(crate_authors!())
78
.about(crate_description!())
8-
.setting(AppSettings::AllowMissingPositional)
99
.arg(
1010
Arg::new("verbose")
1111
.takes_value(false)

0 commit comments

Comments
 (0)