summaryrefslogtreecommitdiff
path: root/Command/SendKey.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/SendKey.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/SendKey.hs')
-rw-r--r--Command/SendKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/SendKey.hs b/Command/SendKey.hs
index 7b1cd3eca..686a31caa 100644
--- a/Command/SendKey.hs
+++ b/Command/SendKey.hs
@@ -13,7 +13,7 @@ import Annex.Content
import Utility.RsyncFile
def :: [Command]
-def = [command "sendkey" paramKey seek
+def = [oneShot $ command "sendkey" paramKey seek
"runs rsync in server mode to send content"]
seek :: [CommandSeek]