diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-16 19:17:40 +0100 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-10-16 19:17:40 +0100 |
commit | 2a704035f4b36a0db737f59a7c939d17656b516f (patch) | |
tree | a71246cfffb870ec54a7d4e8587991e173a4c0e8 /crates/tools/src/main.rs | |
parent | 06ab643b007592a7f76309e3c9cb2e715e211a96 (diff) | |
parent | 2f4a248f806e8587a21c52e636e6fe68eb9bfdbb (diff) |
Merge #137
137: rename gen-kinds to gen-syntax r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/tools/src/main.rs')
-rw-r--r-- | crates/tools/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tools/src/main.rs b/crates/tools/src/main.rs index 965bc7729..152298014 100644 --- a/crates/tools/src/main.rs +++ b/crates/tools/src/main.rs | |||
@@ -28,7 +28,7 @@ fn main() -> Result<()> { | |||
28 | .help("Verify that generated code is up-to-date") | 28 | .help("Verify that generated code is up-to-date") |
29 | .global(true), | 29 | .global(true), |
30 | ) | 30 | ) |
31 | .subcommand(SubCommand::with_name("gen-kinds")) | 31 | .subcommand(SubCommand::with_name("gen-syntax")) |
32 | .subcommand(SubCommand::with_name("gen-tests")) | 32 | .subcommand(SubCommand::with_name("gen-tests")) |
33 | .subcommand(SubCommand::with_name("install-code")) | 33 | .subcommand(SubCommand::with_name("install-code")) |
34 | .get_matches(); | 34 | .get_matches(); |
@@ -40,7 +40,7 @@ fn main() -> Result<()> { | |||
40 | match matches.subcommand() { | 40 | match matches.subcommand() { |
41 | ("install-code", _) => install_code_extension()?, | 41 | ("install-code", _) => install_code_extension()?, |
42 | ("gen-tests", _) => gen_tests(mode)?, | 42 | ("gen-tests", _) => gen_tests(mode)?, |
43 | ("gen-kinds", _) => generate(Overwrite)?, | 43 | ("gen-syntax", _) => generate(Overwrite)?, |
44 | _ => unreachable!(), | 44 | _ => unreachable!(), |
45 | } | 45 | } |
46 | Ok(()) | 46 | Ok(()) |