Skip to content

Commit

Permalink
fix(cli.rs): conflicts_with arg doesn't exist closes (#4538)
Browse files Browse the repository at this point in the history
* fix: conflicts_with path doesn't exist

* add change file

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
  • Loading branch information
JonasKruckenberg and lucasfernog authored Jun 30, 2022
1 parent 2e74d20 commit 8e808fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changes/fix-signer-cmd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"cli.rs": patch
"cli.js": patch
---

Fixes a crash on the `signer sign` command.
4 changes: 2 additions & 2 deletions tooling/cli/src/signer/sign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ use clap::Parser;
#[clap(about = "Sign a file")]
pub struct Options {
/// Load the private key from a file
#[clap(short = 'k', long, conflicts_with("private_key_path"))]
#[clap(short = 'k', long, conflicts_with("private-key-path"))]
private_key: Option<String>,
/// Load the private key from a string
#[clap(short = 'f', long, conflicts_with("private_key"))]
#[clap(short = 'f', long, conflicts_with("private-key"))]
private_key_path: Option<PathBuf>,
/// Set private key password when signing
#[clap(short, long)]
Expand Down

0 comments on commit 8e808fe

Please sign in to comment.