rename gen-kinds to gen-syntax

This commit is contained in:
Aleksey Kladov 2018-10-16 21:09:22 +03:00
parent 06ab643b00
commit 2f4a248f80
10 changed files with 13 additions and 13 deletions

View file

@ -28,7 +28,7 @@ fn main() -> Result<()> {
.help("Verify that generated code is up-to-date")
.global(true),
)
.subcommand(SubCommand::with_name("gen-kinds"))
.subcommand(SubCommand::with_name("gen-syntax"))
.subcommand(SubCommand::with_name("gen-tests"))
.subcommand(SubCommand::with_name("install-code"))
.get_matches();
@ -40,7 +40,7 @@ fn main() -> Result<()> {
match matches.subcommand() {
("install-code", _) => install_code_extension()?,
("gen-tests", _) => gen_tests(mode)?,
("gen-kinds", _) => generate(Overwrite)?,
("gen-syntax", _) => generate(Overwrite)?,
_ => unreachable!(),
}
Ok(())