--from/--to can be used to limit the remote repository that git-annex uses.

This commit is contained in:
Joey Hess 2010-10-22 20:35:39 -04:00
parent 8ff3c73556
commit ff38e49eb4
4 changed files with 26 additions and 8 deletions

View file

@ -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