diff options
author | Aleksey Kladov <[email protected]> | 2018-10-16 19:09:22 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-10-16 19:17:19 +0100 |
commit | 2f4a248f806e8587a21c52e636e6fe68eb9bfdbb (patch) | |
tree | a71246cfffb870ec54a7d4e8587991e173a4c0e8 /crates/tools/src | |
parent | 06ab643b007592a7f76309e3c9cb2e715e211a96 (diff) |
rename gen-kinds to gen-syntax
Diffstat (limited to 'crates/tools/src')
-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(()) |