summaryrefslogtreecommitdiff
path: root/kiki.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2014-05-06 02:30:44 -0400
committerjoe <joe@jerkface.net>2014-05-06 02:30:44 -0400
commit08787650f5d99bb9110bb9d7ef92ac249be865ad (patch)
tree4cf62a71ccd4993c13ad3b97b44dcee39d8d3f3e /kiki.hs
parent3da9f37f578fe6462a3a69e739bb7e21d78f4b89 (diff)
update usage to reflect multiple passphrases are suported
Diffstat (limited to 'kiki.hs')
-rw-r--r--kiki.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiki.hs b/kiki.hs
index c84bce2..3bc291f 100644
--- a/kiki.hs
+++ b/kiki.hs
@@ -874,7 +874,7 @@ kiki "show" args = do
874 874
875kiki "merge" [] = do 875kiki "merge" [] = do
876 putStr . unlines $ 876 putStr . unlines $
877 [ "kiki merge [ --passphrase-fd=FD ]" 877 [ "kiki merge [ --passphrase-fd=FD ... ]"
878 , " ( --home[=HOMEDIR]" 878 , " ( --home[=HOMEDIR]"
879 , " | --type=(keyring|pem|wallet|hosts)" 879 , " | --type=(keyring|pem|wallet|hosts)"
880 , " | --access=[auto|secret|public]" 880 , " | --access=[auto|secret|public]"
@@ -965,7 +965,7 @@ kiki "merge" args = do
965 where 965 where
966 pfd = FileDesc (read pass) 966 pfd = FileDesc (read pass)
967 967
968 buildOp (False,(flow,op)) fname = (False,doFile flow op fname) 968 buildOp (False,(flow,op)) fname = (False,doFile flow op fname)
969 buildOp (True,(flow,op)) arg@(splitArg->parsed) = 969 buildOp (True,(flow,op)) arg@(splitArg->parsed) =
970 case parsed of 970 case parsed of
971 Left ("",Nothing) -> (False,(flow,op)) 971 Left ("",Nothing) -> (False,(flow,op))