fix help for --rga-cache-max-blob-len

Since the arguments are preprocessed in `split_args`, all option arguments must
use equals. This was missing for --rga-cache-max-blob-len and the help was then
misleading:

        --rga-cache-max-blob-len <cache-max-blob-len>
            Max compressed size to cache
This commit is contained in:
Tomáš Janoušek 2020-05-19 11:50:18 +02:00 committed by GitHub
parent 47bef56e2a
commit 758d0d13c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,8 @@ pub struct RgaArgs {
#[structopt( #[structopt(
long = "--rga-cache-max-blob-len", long = "--rga-cache-max-blob-len",
default_value = "2000000", default_value = "2000000",
hidden_short_help = true hidden_short_help = true,
require_equals = true
)] )]
/// Max compressed size to cache /// Max compressed size to cache
/// ///