fix: the return value of --version should be 0

fix #317
This commit is contained in:
veeso
2025-03-15 16:54:36 +01:00
parent cdf303a847
commit cdebcbd4dc
4 changed files with 35 additions and 24 deletions

View File

@@ -44,7 +44,7 @@ pub enum HostErrorType {
}
/// HostError is a wrapper for the error type and the exact io error
#[derive(Debug)]
#[derive(Debug, Error)]
pub struct HostError {
pub error: HostErrorType,
ioerr: Option<std::io::Error>,