From 758d0d13c3ba8c4ac59f65106696874c502ec5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Janou=C5=A1ek?= Date: Tue, 19 May 2020 11:50:18 +0200 Subject: [PATCH] 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 Max compressed size to cache --- src/args.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/args.rs b/src/args.rs index fbbdbeb..dc8d9fe 100644 --- a/src/args.rs +++ b/src/args.rs @@ -80,7 +80,8 @@ pub struct RgaArgs { #[structopt( long = "--rga-cache-max-blob-len", default_value = "2000000", - hidden_short_help = true + hidden_short_help = true, + require_equals = true )] /// Max compressed size to cache ///