aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-calckey.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-04-21 11:23:17 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-04-21 11:23:17 -0400
commit1e8daf3c84170e0e54e784df549c17155121b81b (patch)
tree9c4146a9403eaf5fe976a1e81484d1906c170cf9 /doc/git-annex-calckey.mdwn
parentd9dad203435c8a2b071648c750a3491c2adfa2e2 (diff)
calckey can use --backend
Diffstat (limited to 'doc/git-annex-calckey.mdwn')
-rw-r--r--doc/git-annex-calckey.mdwn9
1 files changed, 7 insertions, 2 deletions
diff --git a/doc/git-annex-calckey.mdwn b/doc/git-annex-calckey.mdwn
index 84fafba4b..340c03eed 100644
--- a/doc/git-annex-calckey.mdwn
+++ b/doc/git-annex-calckey.mdwn
@@ -13,9 +13,10 @@ to refer to a file. The file is not added to the annex by this command.
The key is output to stdout.
The backend used is the first listed in the annex.backends configuration
-setting. For example, to force use of the SHA1 backend:
+setting, which can be overridden by the --backend option.
+For example, to force use of the SHA1 backend:
- git annex calckey -c annex.backends=SHA1 file
+ git annex calckey --backend=SHA1 file
# OPTIONS
@@ -24,6 +25,10 @@ setting. For example, to force use of the SHA1 backend:
Enable batch mode, in which a line containing the filename is read from
stdin, the key is output to stdout (with a trailing newline), and repeat.
+* `--backend=name`
+
+ Specifies which key-value backend to use.
+
# SEE ALSO
[[git-annex]](1)