diff options
author | joe <joe@jerkface.net> | 2015-06-24 14:14:09 -0400 |
---|---|---|
committer | joe <joe@jerkface.net> | 2015-06-24 14:14:09 -0400 |
commit | 73bde742f0f452da91eb2dd9de9a954fc33c28a8 (patch) | |
tree | 30351cf719aee8d1a51965965001a823cf01e584 | |
parent | aa82708a6ee2ff26c093dbd3e25fea8ceed349aa (diff) |
minor documentation tweak
-rw-r--r-- | kiki.hs | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -177,7 +177,7 @@ listKeysFiltered grips pkts = do | |||
177 | , formkind | 177 | , formkind |
178 | , " " | 178 | , " " |
179 | , fingerprint sub | 179 | , fingerprint sub |
180 | , " " ++ (torhash sub) | 180 | -- , " " ++ (torhash sub) |
181 | -- , " " ++ (concatMap (printf "%02X") $ S.unpack (ecc_curve sub)) | 181 | -- , " " ++ (concatMap (printf "%02X") $ S.unpack (ecc_curve sub)) |
182 | ] -- ++ ppShow hashed | 182 | ] -- ++ ppShow hashed |
183 | : if isCryptoCoinKey sub | 183 | : if isCryptoCoinKey sub |
@@ -522,7 +522,7 @@ kiki_usage bExport bImport bSecret cmd = putStr $ | |||
522 | ," sync-secret works by first creating a combined database containing all information" | 522 | ," sync-secret works by first creating a combined database containing all information" |
523 | ," and then updating all files (including OpenGPG files, as well as files specified as" | 523 | ," and then updating all files (including OpenGPG files, as well as files specified as" |
524 | ," arguments to the options --keyrings, --wallets, and --hosts) with information from" | 524 | ," arguments to the options --keyrings, --wallets, and --hosts) with information from" |
525 | ," from the combined database." | 525 | ," from that combined database." |
526 | ,"" | 526 | ,"" |
527 | ," Master keys in keyring files are fleshed out with all known subkeys" | 527 | ," Master keys in keyring files are fleshed out with all known subkeys" |
528 | ," in any file in which they appear. Ordinarily, if a file does not contain the master key" | 528 | ," in any file in which they appear. Ordinarily, if a file does not contain the master key" |
@@ -959,13 +959,14 @@ buildStreamInfo rtyp ftyp = StreamInfo { typ = ftyp | |||
959 | , transforms = [] } | 959 | , transforms = [] } |
960 | 960 | ||
961 | 961 | ||
962 | -- Flag-specific options | ||
963 | -- bSecret: --keypairs and --wallets | ||
964 | -- bImport: --import and --import-if-authentic | ||
962 | sync :: Bool -> Bool -> Bool -> String -> [String] -> IO () | 965 | sync :: Bool -> Bool -> Bool -> String -> [String] -> IO () |
963 | sync bExport bImport bSecret cmdarg args_raw = do | 966 | sync bExport bImport bSecret cmdarg args_raw = do |
964 | let (sargs,margs) = processArgs sargspec polyVariadicArgs "--keyrings" args_raw | 967 | let (sargs,margs) = processArgs sargspec polyVariadicArgs "--keyrings" args_raw |
965 | sargspec = [ ("--import",0) | 968 | sargspec = [ ("--show-wk",0) |
966 | , ("--autosign",0) | 969 | , ("--autosign",0) |
967 | , ("--import-if-authentic",0) | ||
968 | , ("--show-wk",0) | ||
969 | {-, ("--show-all",0) | 970 | {-, ("--show-all",0) |
970 | , ("--show-whose-key",0) | 971 | , ("--show-whose-key",0) |
971 | , ("--show-key",1) | 972 | , ("--show-key",1) |
@@ -973,6 +974,8 @@ sync bExport bImport bSecret cmdarg args_raw = do | |||
973 | , ("--show-ssh",1) | 974 | , ("--show-ssh",1) |
974 | , ("--show-wip",1) -} | 975 | , ("--show-wip",1) -} |
975 | ] | 976 | ] |
977 | ++ do guard bImport | ||
978 | [ ("--import",0), ("--import-if-authentic",0) ] | ||
976 | polyVariadicArgs = ["--keyrings" | 979 | polyVariadicArgs = ["--keyrings" |
977 | ,"--hosts" ] | 980 | ,"--hosts" ] |
978 | ++ do guard bSecret | 981 | ++ do guard bSecret |