From 7761cf00d7bef610949daf30d2227dea4e80b22f Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 6 Oct 2021 13:14:04 -0500 Subject: [PATCH] docs(derive): Fix explanation on optional string list argument This is a port of https://github.com/TeXitoi/structopt/pull/450 This is a part of #2809 --- clap_derive/examples/example.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap_derive/examples/example.rs b/clap_derive/examples/example.rs index 95a1e92e..d87172bc 100644 --- a/clap_derive/examples/example.rs +++ b/clap_derive/examples/example.rs @@ -37,7 +37,7 @@ struct Opt { // An optional list of values, will be `None` if not present on // the command line, will be `Some(vec![])` if no argument is - // provided (i.e. `--optv`) and will be `Some(Some(String))` if + // provided (i.e. `--optv`) and will be `Some(Vec)` if // argument list is provided (e.g. `--optv a b c`). #[clap(long)] optv: Option>,