summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-01-05 16:55:19 -0600
committerGitHub <noreply@github.com>2018-01-05 16:55:19 -0600
commit45df62c169270affd4c843672a919c0329a745e3 (patch)
tree079f76fd8f949570db6376d9f7b1b7b6efcce6a5
parentd5014a103a740bffbc8f14d962efe190c5586afe (diff)
parent67999aee9c2fe4c7041160eac00dbef7f50237f3 (diff)
Auto merge of #1214 - kornelski:master, r=emilio
Correct type for --whitelist-type doc
-rw-r--r--src/options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 10c31234..c35aa276 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -237,9 +237,9 @@ where
.help("Generate inline functions."),
Arg::with_name("whitelist-type")
.long("whitelist-type")
- .help("Whitelist the type. Other non-whitelisted types will \
+ .help("Only generate types matching <regex>. Other non-whitelisted types will \
not be generated.")
- .value_name("type")
+ .value_name("regex")
.takes_value(true)
.multiple(true)
.number_of_values(1),