mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-14 21:21:44 +03:00
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>
This commit is contained in:
parent
2e74d20e83
commit
8e808fece9
6
.changes/fix-signer-cmd.md
Normal file
6
.changes/fix-signer-cmd.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"cli.rs": patch
|
||||
"cli.js": patch
|
||||
---
|
||||
|
||||
Fixes a crash on the `signer sign` command.
|
@ -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)]
|
||||
|
Loading…
Reference in New Issue
Block a user