Full rewrite #24
|
@ -68,8 +68,7 @@ async fn rust_main(arguments: yacexits::Args) -> Result<u32, (String, u32)> {
|
||||||
let message = format!(
|
let message = format!(
|
||||||
"{}: Unimplemented subcommand.", ctx.args.sub
|
"{}: Unimplemented subcommand.", ctx.args.sub
|
||||||
);
|
);
|
||||||
let code = EX_SOFTWARE;
|
Err(HopError { message, code: EX_SOFTWARE })
|
||||||
Err(HopError { message, code })
|
|
||||||
},
|
},
|
||||||
}?
|
}?
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue