summaryrefslogtreecommitdiff
path: root/Command/RecvKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-14 12:40:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-14 12:40:40 -0400
commit90a8b38ac048d2a9a7caeb68d70d5148fb4148b8 (patch)
tree8095c25b6dbe1308151bd2fd20a88ef88e418cb2 /Command/RecvKey.hs
parent33e03d58ae2a351b137ca8e32fa704d240e626e0 (diff)
set oneshot mode on a per-command basis
Avoids ugly (and test suite failing) hack in Command.Version
Diffstat (limited to 'Command/RecvKey.hs')
-rw-r--r--Command/RecvKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/RecvKey.hs b/Command/RecvKey.hs
index a27a5efdf..9744a56d4 100644
--- a/Command/RecvKey.hs
+++ b/Command/RecvKey.hs
@@ -14,7 +14,7 @@ import Annex.Content
import Utility.RsyncFile
def :: [Command]
-def = [command "recvkey" paramKey seek
+def = [oneShot $ command "recvkey" paramKey seek
"runs rsync in server mode to receive content"]
seek :: [CommandSeek]