diff --git a/.changes/fix-signer-cmd.md b/.changes/fix-signer-cmd.md new file mode 100644 index 000000000..32fbd91ed --- /dev/null +++ b/.changes/fix-signer-cmd.md @@ -0,0 +1,6 @@ +--- +"cli.rs": patch +"cli.js": patch +--- + +Fixes a crash on the `signer sign` command. diff --git a/tooling/cli/src/signer/sign.rs b/tooling/cli/src/signer/sign.rs index 0c54d328c..cc51c467b 100644 --- a/tooling/cli/src/signer/sign.rs +++ b/tooling/cli/src/signer/sign.rs @@ -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, /// 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, /// Set private key password when signing #[clap(short, long)]