Document add behavior when the daemon is not running
Martín Triay committed
Jun 27, 2020 at 15:57 UTC
c532cb4d5ae7b49f644a7f438d9fedd007b83ee0
1 file changed
+4
core/commands/add.go
+4
@@ -60,6 +60,10 @@ Adds contents of <path> to ipfs. Use -r to add directories.
60
Note that directories are added recursively, to form the ipfs
61
MerkleDAG.
62
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
+
67
The wrap option, '-w', wraps the file (or files, if using the
68
recursive option) in a directory. This directory contains only
69
the files which have been added, and means that the file retains