summaryrefslogtreecommitdiff
path: root/lib/Kiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2016-09-05 17:23:24 -0400
committerjoe <joe@jerkface.net>2016-09-05 17:23:24 -0400
commit705fdf0fa6121bc511497a69021c000e06638c6c (patch)
treed5eabedfdab35c5f71a3c4ad0d18ed4689dd7f09 /lib/Kiki.hs
parent0214686d1beaf10bd0b03b36105f59311111b3df (diff)
i386 haddock doesn't like my unicode.
amd64 liked it fine. Go figure.
Diffstat (limited to 'lib/Kiki.hs')
-rw-r--r--lib/Kiki.hs12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Kiki.hs b/lib/Kiki.hs
index 45e67f8..a683a91 100644
--- a/lib/Kiki.hs
+++ b/lib/Kiki.hs
@@ -656,16 +656,16 @@ slash "" ('/':xs) = '/':xs
656slash "" xs = '/':xs 656slash "" xs = '/':xs
657slash (y:ys) xs = y:slash ys xs 657slash (y:ys) xs = y:slash ys xs
658 658
659chroot :: Args (FilePath -> FilePath) 659opt_chroot :: Args (FilePath -> FilePath)
660chroot = pure (\r a -> slash r a) <*> arg "--chroot" <|> pure id 660opt_chroot = pure (\r a -> slash r a) <*> arg "--chroot" <|> pure id
661 661
662homedir :: Args CommonArgsParsed 662opt_homedir :: Args CommonArgsParsed
663homedir = CommonArgsParsed 663opt_homedir = CommonArgsParsed
664 <$> optional (arg "--homedir") 664 <$> optional (arg "--homedir")
665 <*> optional (FileDesc <$> read <$> arg "--passphrase-fd") 665 <*> optional (FileDesc <$> read <$> arg "--passphrase-fd")
666 666
667cipher :: Args SymmetricAlgorithm 667opt_cipher :: Args SymmetricAlgorithm
668cipher = fromMaybe CAST5 <$> optional (cipherFromString <$> arg "--cipher") 668opt_cipher = fromMaybe CAST5 <$> optional (cipherFromString <$> arg "--cipher")
669 669
670kikiOptions :: ( [(String,Int)], [String] ) 670kikiOptions :: ( [(String,Int)], [String] )
671kikiOptions = ( ss, ps ) 671kikiOptions = ( ss, ps )