Skip to content

Commit

Permalink
chore(deps): bump clap from 3.2.19 to 4.0.18
Browse files Browse the repository at this point in the history
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.19 to 4.0.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v3.2.19...v4.0.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and LGUG2Z committed Nov 9, 2022
1 parent 4910877 commit c1bb456
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 26 deletions.
82 changes: 59 additions & 23 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 @@ -11,7 +11,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "3", features = ["derive", "wrap_help"] }
clap = { version = "4", features = ["derive", "wrap_help"] }
color-eyre = "0.6"
dirs = "4"
env_logger = "0.9"
Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#![warn(clippy::all, clippy::nursery, clippy::pedantic)]
#![allow(clippy::missing_errors_doc)]

use clap::AppSettings;
use clap::Parser;
use std::io::Read;
use std::io::Write;
Expand Down Expand Up @@ -34,7 +33,7 @@ const PIPE: &str = r#"\\.\pipe\"#;
const NAME: &str = "komokana";

#[derive(Debug, Parser)]
#[clap(author, about, version, setting = AppSettings::DeriveDisplayOrder, arg_required_else_help = true)]
#[clap(author, about, version, arg_required_else_help = true)]
struct Cli {
/// The port on which kanata's TCP server is running
#[clap(short = 'p', long)]
Expand Down

0 comments on commit c1bb456

Please sign in to comment.