Strip mostly vestigial --verbose flag

This commit is contained in:
Lucien Greathouse 2018-04-12 22:37:36 -07:00
parent 844b20e7fc
commit e9bc66e5e3
3 changed files with 3 additions and 15 deletions

View file

@ -24,14 +24,8 @@ fn main() {
(@arg port: --port +takes_value "The port to listen on. Defaults to 8000.")
)
(@arg verbose: --verbose "Enable extended logging.")
).get_matches();
let verbose = match matches.occurrences_of("verbose") {
0 => false,
_ => true,
};
match matches.subcommand() {
("init", sub_matches) => {
let sub_matches = sub_matches.unwrap();
@ -61,7 +55,7 @@ fn main() {
}
};
rojo_core::commands::serve(&project_path, verbose, port);
rojo_core::commands::serve(&project_path, port);
},
_ => {
eprintln!("Please specify a subcommand!");