Skip to content

Commit 8dcd260

Browse files
authored
Merge pull request #7514 from martriay/doc/add-without-daemon-behavior
Document add behavior when the daemon is not running
2 parents 3d3c036 + c532cb4 commit 8dcd260

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

core/commands/add.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ Adds contents of <path> to ipfs. Use -r to add directories.
6060
Note that directories are added recursively, to form the ipfs
6161
MerkleDAG.
6262
63+
If the daemon is not running, it will just add locally.
64+
If the daemon is started later, it will be advertised after a few
65+
seconds when the reprovider runs.
66+
6367
The wrap option, '-w', wraps the file (or files, if using the
6468
recursive option) in a directory. This directory contains only
6569
the files which have been added, and means that the file retains

0 commit comments

Comments
 (0)