From 90a8b38ac048d2a9a7caeb68d70d5148fb4148b8 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Feb 2012 12:40:40 -0400 Subject: set oneshot mode on a per-command basis Avoids ugly (and test suite failing) hack in Command.Version --- Command/RecvKey.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/RecvKey.hs') 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] -- cgit v1.2.3