summaryrefslogtreecommitdiff
path: root/Remote/External
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-07 13:23:58 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-07 13:23:58 -0400
commitec10906a7a219ce603f3a49e1c35250c17a77fc9 (patch)
tree7042b196195bc0116e8cbfd7f08c17f7efcdea59 /Remote/External
parent9ffba939dbdbc5f4647b754cc0173dd6bc7f9803 (diff)
add DEBUG
Diffstat (limited to 'Remote/External')
-rw-r--r--Remote/External/Types.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Remote/External/Types.hs b/Remote/External/Types.hs
index 88c2126d7..4c62c2f84 100644
--- a/Remote/External/Types.hs
+++ b/Remote/External/Types.hs
@@ -172,6 +172,7 @@ data RemoteRequest
| GETWANTED
| SETSTATE Key String
| GETSTATE Key
+ | DEBUG String
deriving (Show)
instance Receivable RemoteRequest where
@@ -187,6 +188,7 @@ instance Receivable RemoteRequest where
parseCommand "GETWANTED" = parse0 GETWANTED
parseCommand "SETSTATE" = parse2 SETSTATE
parseCommand "GETSTATE" = parse1 GETSTATE
+ parseCommand "DEBUG" = parse1 DEBUG
parseCommand _ = parseFail
-- Responses to RemoteRequest.