exit_code : ajout d'un nouveau nombre magique success
This commit is contained in:
parent
534de54613
commit
705e11fcab
1 changed files with 4 additions and 0 deletions
|
@ -14,4 +14,8 @@ impl ExitCode {
|
||||||
pub fn not_found() -> Self {
|
pub fn not_found() -> Self {
|
||||||
Self { exit_code: 127 }
|
Self { exit_code: 127 }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn success() -> Self {
|
||||||
|
Self { exit_code: 0 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue