diff options
author | 2016-12-05 12:55:50 -0400 | |
---|---|---|
committer | 2016-12-05 12:55:50 -0400 | |
commit | 41ef0a573bd50bb4c2f984834e7af9f97c596662 (patch) | |
tree | 92b1d5288b8d6596235840c25a3f90883c8578d2 /doc/git-annex-rekey.mdwn | |
parent | b9c88044bcc9e2b409ee2872d4b75c26ce6e821f (diff) |
rekey: Added --batch mode.
Would have liked to make the Parser parse the file and key pairs, but it
seems that optparse-applicative is unable to handle eg:
many ((,) <$> argument <*> argument)
This commit was sponsored by Thomas Hochstein on Patreon.
Diffstat (limited to 'doc/git-annex-rekey.mdwn')
-rw-r--r-- | doc/git-annex-rekey.mdwn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/git-annex-rekey.mdwn b/doc/git-annex-rekey.mdwn index 4ec0b49e8..ce5e43d41 100644 --- a/doc/git-annex-rekey.mdwn +++ b/doc/git-annex-rekey.mdwn @@ -20,6 +20,12 @@ Multiple pairs of file and key can be given in a single command line. Allow rekeying of even files whose content is not currently available. Use with caution. +* `--batch` + + Enables batch mode, in which lines are read from stdin. + Each line should contain the file, and the new key to use for that file, + separated by a single space. + # SEE ALSO [[git-annex]](1) |