Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
(#181) added no-role-reveal option to start
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry J. Wylde committed Jun 5, 2016
1 parent 3c9c2e7 commit bed3488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Werewolf/Options.hs
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ start = fmap Start $ Start.Options
variantOption = option $ readerAsk >>= \opt -> case opt of
"standard" -> return Standard
"no-role-knowledge" -> return NoRoleKnowledge
"no-role-reveal" -> return NoRoleReveal
_ -> readerError $ "unrecognised variant `" ++ opt ++ "'"

extraRolesOption = fmap (Start.Use . filter (/= T.empty) . T.splitOn "," . T.pack) (strOption $ mconcat
Expand Down

0 comments on commit bed3488

Please sign in to comment.