summaryrefslogtreecommitdiff
path: root/Command/Dead.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Dead.hs')
-rw-r--r--Command/Dead.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Dead.hs b/Command/Dead.hs
index 7e62b6db0..75efd0dd5 100644
--- a/Command/Dead.hs
+++ b/Command/Dead.hs
@@ -16,10 +16,10 @@ import Command.Trust (trustCommand)
import Logs.Location
import Remote (keyLocations)
-cmd :: [Command]
-cmd = [withOptions [keyOption] $
+cmd :: Command
+cmd = withOptions [keyOption] $
command "dead" (paramRepeating paramRemote) seek
- SectionSetup "hide a lost repository or key"]
+ SectionSetup "hide a lost repository or key"
seek :: CommandSeek
seek ps = maybe (trustCommand "dead" DeadTrusted ps) (flip seekKey ps)