more generic showStart'

This commit is contained in:
Joey Hess 2016-07-20 14:03:54 -04:00
parent 4236dc83a8
commit 847944e6b1
Failed to extract signature
3 changed files with 26 additions and 6 deletions

View file

@ -23,7 +23,7 @@ seek = withWords start
start :: [String] -> CommandStart
start (ks:us:vs:[]) = do
showStart' "setpresentkey" k Nothing
showStart' "setpresentkey" k k
next $ perform k (toUUID us) s
where
k = fromMaybe (error "bad key") (file2key ks)