summaryrefslogtreecommitdiff
path: root/doc/git-annex-shell.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/git-annex-shell.mdwn')
-rw-r--r--doc/git-annex-shell.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/git-annex-shell.mdwn b/doc/git-annex-shell.mdwn
index d0e0930c5..73517ba89 100644
--- a/doc/git-annex-shell.mdwn
+++ b/doc/git-annex-shell.mdwn
@@ -43,6 +43,17 @@ first "/~/" or "/~user/" is expanded to the specified home directory.
Exits 100 if it's unable to tell (perhaps the key is in the process of
being removed from the annex).
+* lockcontent directory key
+
+ This locks a key's content in place in the annex, preventing it from
+ being dropped.
+
+ Once the content is successfully locked, outputs "OK". Then the content
+ remains locked until a newline is received from the caller or the
+ connection is broken.
+
+ Exits nonzero if the content is not present, or could not be locked.
+
* dropkey directory [key ...]
This drops the annexed data for the specified keys.