diff options
author | joe <joe@jerkface.net> | 2016-04-14 23:10:56 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2016-04-14 23:10:56 -0400 |
commit | b5958c62d1eb040e6b081fd7ba94e1b88ecd1e9a (patch) | |
tree | 882360444950b10405f0206c6fb74eafd1493d62 | |
parent | b57248ba0189f9d91be08e02fc8e23dd29a99687 (diff) |
Added 'dns' type to low-level "merge" command.
-rw-r--r-- | kiki.hs | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1243,7 +1243,7 @@ kiki "merge" [] = do | |||
1243 | putStr . unlines $ | 1243 | putStr . unlines $ |
1244 | [ "kiki merge [ --passphrase-fd=FD ... ]" | 1244 | [ "kiki merge [ --passphrase-fd=FD ... ]" |
1245 | , " ( --home[=HOMEDIR]" | 1245 | , " ( --home[=HOMEDIR]" |
1246 | , " | --type=(keyring|pem|wallet|hosts)" | 1246 | , " | --type=(keyring|pem|wallet|hosts|dns)" |
1247 | , " | --access=[auto|secret|public]" | 1247 | , " | --access=[auto|secret|public]" |
1248 | , " | --flow=(fill|spill|sync)[,(subkeys|match=SPEC)]" | 1248 | , " | --flow=(fill|spill|sync)[,(subkeys|match=SPEC)]" |
1249 | , " | --create=CMD" | 1249 | , " | --create=CMD" |
@@ -1359,10 +1359,11 @@ kiki "merge" args = do | |||
1359 | Left ("create",Just cmd) -> | 1359 | Left ("create",Just cmd) -> |
1360 | ( flow { initializer = if null cmd then Nothing else Just cmd } | 1360 | ( flow { initializer = if null cmd then Nothing else Just cmd } |
1361 | , op ) | 1361 | , op ) |
1362 | Left ("type",Just "keyring") -> ( flow { typ = KeyRingFile }, op ) | 1362 | Left ("type",Just "keyring") -> ( flow { typ = KeyRingFile } , op ) |
1363 | Left ("type",Just "pem" ) -> ( flow { typ = PEMFile }, op ) | 1363 | Left ("type",Just "pem" ) -> ( flow { typ = PEMFile } , op ) |
1364 | Left ("type",Just "wallet" ) -> ( flow { typ = WalletFile }, op ) | 1364 | Left ("type",Just "wallet" ) -> ( flow { typ = WalletFile } , op ) |
1365 | Left ("type",Just "hosts" ) -> ( flow { typ = Hosts }, op ) | 1365 | Left ("type",Just "hosts" ) -> ( flow { typ = Hosts } , op ) |
1366 | Left ("type",Just "dns" ) -> ( flow { typ = DNSPresentation } , op ) | ||
1366 | Left ("access",Just "public") -> ( flow { access = Pub }, op ) | 1367 | Left ("access",Just "public") -> ( flow { access = Pub }, op ) |
1367 | Left ("access",Just "secret") -> ( flow { access = Sec }, op ) | 1368 | Left ("access",Just "secret") -> ( flow { access = Sec }, op ) |
1368 | Left ("access",Just "auto") -> ( flow { access = AutoAccess }, op ) | 1369 | Left ("access",Just "auto") -> ( flow { access = AutoAccess }, op ) |