Fix use-deprecated-loader arg (#11921)

This commit is contained in:
Tyera Eulberg 2020-08-31 02:41:00 -06:00 committed by GitHub
parent 5b1aca1a91
commit 6234909373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2248,8 +2248,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]")
)
.arg(
Arg::with_name("use-deprecated-loader")
.long("use_deprecated_loader")
Arg::with_name("use_deprecated_loader")
.long("use-deprecated-loader")
.takes_value(false)
.hidden(true) // Don't document this argument to discourage its use
.help("Use the deprecated BPF loader")