aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-p2p.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-16 15:36:59 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-16 15:37:50 -0400
commit353b59a000dd0e4941b3c36a7fd02d23f3cf44a1 (patch)
tree3d39f2107a921d9cf3bc6bb6c922a58046c460a8 /doc/git-annex-p2p.mdwn
parent6c59cea78aa11aea9031eb162b4158fa1d955f4f (diff)
p2p: --link no longer takes a remote name, instead the --name option can be used.
Diffstat (limited to 'doc/git-annex-p2p.mdwn')
-rw-r--r--doc/git-annex-p2p.mdwn12
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/git-annex-p2p.mdwn b/doc/git-annex-p2p.mdwn
index 5bf48178f..6c50c9dd2 100644
--- a/doc/git-annex-p2p.mdwn
+++ b/doc/git-annex-p2p.mdwn
@@ -22,14 +22,20 @@ services.
over the available P2P networks. The address or addresses is output to
stdout.
-* `--link remotename`
+* `--link`
- Sets up a git remote with the specified remotename that is accessed over
- a P2P network.
+ Sets up a git remote that is accessed over a P2P network.
This will prompt for an address to be entered; you should paste in the
address that was generated by --gen-address in the remote repository.
+ Defaults to making the git remote be named "peer1", "peer2",
+ etc. This can be overridden with the `--name` option.
+
+* `--name`
+
+ Specify a name to use when setting up a git remote.
+
# SEE ALSO
[[git-annex]](1)