diff options
author | Daniel <kingdread@gmx.de> | 2018-10-15 16:38:32 +0200 |
---|---|---|
committer | Daniel <kingdread@gmx.de> | 2018-10-15 16:38:32 +0200 |
commit | f5af4e51a3bb73ddeb9b916ff772a3ab0afb92b8 (patch) | |
tree | e75ddfc4cd5073248d93b51ade450175de225331 /src/main.rs | |
parent | e3dacb69c022107596e0e1483f2be981c8da0dc7 (diff) | |
download | raidgrep-f5af4e51a3bb73ddeb9b916ff772a3ab0afb92b8.tar.gz raidgrep-f5af4e51a3bb73ddeb9b916ff772a3ab0afb92b8.tar.bz2 raidgrep-f5af4e51a3bb73ddeb9b916ff772a3ab0afb92b8.zip |
add "kill" as synonym for success
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 9e54453..90deb5d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,7 +172,7 @@ impl FromStr for FightOutcome { fn from_str(s: &str) -> Result<Self, Self::Err> { match s { - "success" => Ok(FightOutcome::Success), + "success" | "kill" => Ok(FightOutcome::Success), "wipe" | "fail" => Ok(FightOutcome::Wipe), _ => Err("Must be success or wipe"), } |