summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Channings <josh@channings.me.uk>2018-11-08 14:29:35 +0000
committerGitHub <noreply@github.com>2018-11-08 14:29:35 +0000
commit0275c4cb30aa4b30016ff79c5e092955a80ec238 (patch)
treeb5d5b120fcd95a3bb5bfeba79e6c8ae352830027
parente9638f613e0a7906beabf62238144ee47c28143c (diff)
Fix Builder::command_line_args() --generate typo
Looks like the accepted argument has always been "functions", and this output has always been "function".
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 039bd39a..a57b6a29 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -431,7 +431,7 @@ impl Builder {
//Temporary placeholder for below 4 options
let mut options: Vec<String> = Vec::new();
if self.options.codegen_config.functions() {
- options.push("function".into());
+ options.push("functions".into());
}
if self.options.codegen_config.types() {
options.push("types".into());