mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-23 18:29:50 -04:00
parent
b83c57b1f6
commit
8f64d3385a
@ -693,6 +693,7 @@ fn main() {
|
|||||||
} else if let Some(matches) = app_matches.subcommand_matches("fmt") {
|
} else if let Some(matches) = app_matches.subcommand_matches("fmt") {
|
||||||
if let Err(e) = fmt_command(matches) {
|
if let Err(e) = fmt_command(matches) {
|
||||||
eprintln!("{}", e);
|
eprintln!("{}", e);
|
||||||
|
process::exit(1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
app.print_help().unwrap();
|
app.print_help().unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user