git-annex/doc/git-annex-setpresentkey.mdwn
Joey Hess b184fc490a
split out common options to its own page and mention it on each subcommand page
Sometimes users would get confused because an option they were looking
for was not mentioned on a subcommand's man page, and they had not
noticed that the main git-annex man page had a list of common options.
This change lets each subcommand mention the common options, similarly
to how the matching options are handled.

This commit was sponsored by Svenne Krap on Patreon.
2021-05-10 15:00:13 -04:00

34 lines
693 B
Markdown

# NAME
git-annex setpresentkey - change records of where key is present
# SYNOPSIS
git annex setpresentkey `key uuid [1|0]`
# DESCRIPTION
This plumbing-level command changes git-annex's records about whether
the specified key's content is present in a remote with the specified uuid.
Use 1 to indicate the key is present, or 0 to indicate the key is
not present.
# OPTIONS
* `--batch`
Enables batch mode, in which lines are read from stdin.
The line format is "key uuid [1|0]"
* Also the [[git-annex-common-options]](1) can be used.
# SEE ALSO
[[git-annex]](1)
# AUTHOR
Joey Hess <id@joeyh.name>
Warning: Automatically converted into a man page by mdwn2man. Edit with care.