From fc33aea27a6d392029fb4aee7425f411792a38b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Zemanovi=C4=8D?= Date: Wed, 20 Nov 2024 11:05:24 +0000 Subject: [PATCH] cli/tx: allow to use `--signatures` together with `--signing-keys` --- crates/apps_lib/src/cli.rs | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/crates/apps_lib/src/cli.rs b/crates/apps_lib/src/cli.rs index 1df8c79cd55..f364c5b1a68 100644 --- a/crates/apps_lib/src/cli.rs +++ b/crates/apps_lib/src/cli.rs @@ -7546,26 +7546,14 @@ pub mod args { )) .conflicts_with_all([EXPIRATION_OPT.name]), ) - .arg( - SIGNING_KEYS - .def() - .help(wrap!( - "Sign the transaction with the key for the given \ - public key, public key hash or alias from your \ - wallet." - )) - .conflicts_with_all([SIGNATURES.name]), - ) - .arg( - SIGNATURES - .def() - .help(wrap!( - "List of file paths containing a serialized signature \ - to be attached to a transaction. Requires to provide \ - a gas payer." - )) - .conflicts_with_all([SIGNING_KEYS.name]), - ) + .arg(SIGNING_KEYS.def().help(wrap!( + "Sign the transaction with the key for the given public key, \ + public key hash or alias from your wallet." + ))) + .arg(SIGNATURES.def().help(wrap!( + "List of file paths containing a serialized signature to be \ + attached to a transaction. Requires to provide a gas payer." + ))) .arg( WRAPPER_SIGNATURE_OPT .def()