Skip to content

Commit 8e808fe

Browse files
fix(cli.rs): conflicts_with arg doesn't exist closes (#4538)
* fix: conflicts_with path doesn't exist * add change file Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 2e74d20 commit 8e808fe

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.changes/fix-signer-cmd.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"cli.rs": patch
3+
"cli.js": patch
4+
---
5+
6+
Fixes a crash on the `signer sign` command.

tooling/cli/src/signer/sign.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ use clap::Parser;
1515
#[clap(about = "Sign a file")]
1616
pub struct Options {
1717
/// Load the private key from a file
18-
#[clap(short = 'k', long, conflicts_with("private_key_path"))]
18+
#[clap(short = 'k', long, conflicts_with("private-key-path"))]
1919
private_key: Option<String>,
2020
/// Load the private key from a string
21-
#[clap(short = 'f', long, conflicts_with("private_key"))]
21+
#[clap(short = 'f', long, conflicts_with("private-key"))]
2222
private_key_path: Option<PathBuf>,
2323
/// Set private key password when signing
2424
#[clap(short, long)]

0 commit comments

Comments
 (0)