mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 22:11:38 +00:00
Strip mostly vestigial --verbose flag
This commit is contained in:
parent
844b20e7fc
commit
e9bc66e5e3
3 changed files with 3 additions and 15 deletions
|
|
@ -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!");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue