aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/help.rs1
-rw-r--r--xtask/src/main.rs10
2 files changed, 2 insertions, 9 deletions
diff --git a/xtask/src/help.rs b/xtask/src/help.rs
index 4c6bf6b53..730eb5c61 100644
--- a/xtask/src/help.rs
+++ b/xtask/src/help.rs
@@ -13,7 +13,6 @@ SUBCOMMANDS:
13 format-hook 13 format-hook
14 fuzz-tests 14 fuzz-tests
15 codegen 15 codegen
16 gen-tests
17 install 16 install
18 lint"; 17 lint";
19 18
diff --git a/xtask/src/main.rs b/xtask/src/main.rs
index 0b19c34f4..db901ced2 100644
--- a/xtask/src/main.rs
+++ b/xtask/src/main.rs
@@ -57,19 +57,13 @@ fn main() -> Result<()> {
57 }; 57 };
58 install(opts)? 58 install(opts)?
59 } 59 }
60 "gen-tests" => {
61 if matches.contains(["-h", "--help"]) {
62 help::print_no_param_subcommand_help(&subcommand);
63 return Ok(());
64 }
65 codegen::generate_parser_tests(Mode::Overwrite)?
66 }
67 "codegen" => { 60 "codegen" => {
68 if matches.contains(["-h", "--help"]) { 61 if matches.contains(["-h", "--help"]) {
69 help::print_no_param_subcommand_help(&subcommand); 62 help::print_no_param_subcommand_help(&subcommand);
70 return Ok(()); 63 return Ok(());
71 } 64 }
72 codegen::generate_syntax(Mode::Overwrite)? 65 codegen::generate_syntax(Mode::Overwrite)?;
66 codegen::generate_parser_tests(Mode::Overwrite)?;
73 } 67 }
74 "format" => { 68 "format" => {
75 if matches.contains(["-h", "--help"]) { 69 if matches.contains(["-h", "--help"]) {