use short by default

This commit is contained in:
Yann Esposito (Yogsototh) 2018-09-04 14:23:50 +02:00
parent 75f8064aaf
commit a2f08d9d4b
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -34,7 +34,7 @@ data AppOptions = AppOptions { genMode :: GenMode
optParser :: Parser AppOptions
optParser = AppOptions
<$> (fromMaybe Lovecraftian <$> optional (opt toGenMode "gen" 'g' "Possible values: short, dict"))
<$> (fromMaybe Short <$> optional (opt toGenMode "gen" 'g' "Possible values: short, dict"))
<*> optional (optPath "dict" 'd' "dictionary (predefined names are: english, first-names, generic, literary) or use any file path (one word per line)")
<*> optional (optInt "len" 'n' "complexity depends on the gen chosen")