summaryrefslogtreecommitdiff
path: root/Commands.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-10-22 20:35:39 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-10-22 20:35:39 -0400
commitff38e49eb453ccfd58ce0e424aeca97389ab0100 (patch)
treea16c87b4fde45cc3ce640dade31080927110783f /Commands.hs
parent8ff3c73556704f94dcf80a1ddbed9430a1579a54 (diff)
--from/--to can be used to limit the remote repository that git-annex uses.
Diffstat (limited to 'Commands.hs')
-rw-r--r--Commands.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Commands.hs b/Commands.hs
index 62eb08e83..3e7447c5b 100644
--- a/Commands.hs
+++ b/Commands.hs
@@ -62,8 +62,10 @@ options = [
"specify default key-value backend to use"
, Option ['k'] ["key"] (ReqArg (storestring "key") "KEY")
"specify a key to use"
- , Option ['r'] ["repository"] (ReqArg (storestring "repository") "REPOSITORY")
- "specify a repository"
+ , Option ['t'] ["to"] (ReqArg (storestring "repository") "REPOSITORY")
+ "specify a repository to transfer content to"
+ , Option ['f'] ["from"] (ReqArg (storestring "repository") "REPOSITORY")
+ "specify a repository to transfer content from"
]
where
storebool n b = Annex.flagChange n $ FlagBool b