clap-utils: Allow fine-tuning offline args

This commit is contained in:
Trent Nelson
2020-10-07 13:18:25 -06:00
committed by mergify[bot]
parent 71a308affd
commit 4feead323d
4 changed files with 34 additions and 16 deletions

View File

@ -2220,7 +2220,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
.required(true)
.help("The amount to send, in SOL; accepts keyword ALL"),
)
.offline_args(false)
.offline_args()
.nonce_args(false)
)
.subcommand(
@ -2267,7 +2267,7 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
.takes_value(false)
.help("Return signature immediately after submitting the transaction, instead of waiting for confirmations"),
)
.offline_args(false)
.offline_args()
.nonce_args(false)
.arg(fee_payer_arg()),
)