more generic showStart'
This commit is contained in:
parent
4236dc83a8
commit
847944e6b1
3 changed files with 26 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue