diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-01-05 16:55:19 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-05 16:55:19 -0600 |
commit | 45df62c169270affd4c843672a919c0329a745e3 (patch) | |
tree | 079f76fd8f949570db6376d9f7b1b7b6efcce6a5 | |
parent | d5014a103a740bffbc8f14d962efe190c5586afe (diff) | |
parent | 67999aee9c2fe4c7041160eac00dbef7f50237f3 (diff) |
Auto merge of #1214 - kornelski:master, r=emilio
Correct type for --whitelist-type doc
-rw-r--r-- | src/options.rs | 4 |
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), |