From eb4b5561133c692a06b4fb0950724d47ed53b34e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 21 Apr 2016 11:23:17 -0400 Subject: [PATCH] calckey can use --backend --- doc/git-annex-calckey.mdwn | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/git-annex-calckey.mdwn b/doc/git-annex-calckey.mdwn index 84fafba4b1..340c03eed2 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)