Fix use-deprecated-loader arg (#11921) (#11929)

(cherry picked from commit 6234909373)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
This commit is contained in:
mergify[bot]
2020-08-31 09:53:34 +00:00
committed by GitHub
parent 47962f3e80
commit 53ed6a2298

View File

@ -2673,8 +2673,8 @@ pub fn app<'ab, 'v>(name: &str, about: &'ab str, version: &'v str) -> App<'ab, '
.help("The signer for the desired address of the program [default: new random address]") .help("The signer for the desired address of the program [default: new random address]")
) )
.arg( .arg(
Arg::with_name("use-deprecated-loader") Arg::with_name("use_deprecated_loader")
.long("use_deprecated_loader") .long("use-deprecated-loader")
.takes_value(false) .takes_value(false)
.hidden(true) // Don't document this argument to discourage its use .hidden(true) // Don't document this argument to discourage its use
.help("Use the deprecated BPF loader") .help("Use the deprecated BPF loader")