Merge pull request #7514 from martriay/doc/add-without-daemon-behavior

Document add behavior when the daemon is not running
This commit is contained in:
Adin Schmahmann 2020-07-17 13:37:06 -04:00 committed by GitHub
commit 8dcd260b21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,10 @@ Adds contents of <path> to ipfs. Use -r to add directories.
Note that directories are added recursively, to form the ipfs
MerkleDAG.
If the daemon is not running, it will just add locally.
If the daemon is started later, it will be advertised after a few
seconds when the reprovider runs.
The wrap option, '-w', wraps the file (or files, if using the
recursive option) in a directory. This directory contains only
the files which have been added, and means that the file retains