diff --git a/token/cli/src/config.rs b/token/cli/src/config.rs index 0ea6284bb78..ee3a4dc903d 100644 --- a/token/cli/src/config.rs +++ b/token/cli/src/config.rs @@ -106,7 +106,7 @@ impl<'a> Config<'a> { CommitmentConfig::confirmed(), DEFAULT_CONFIRM_TX_TIMEOUT, )); - let sign_only = matches.is_present(SIGN_ONLY_ARG.name); + let sign_only = matches.try_contains_id(SIGN_ONLY_ARG.name).unwrap_or(false); let program_client: Arc> = if sign_only { let blockhash = matches .get_one::(BLOCKHASH_ARG.name)