Skip to content

Commit

Permalink
Document add behavior when the daemon is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
martriay committed Jun 27, 2020
1 parent 7ce1d75 commit c532cb4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/commands/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c532cb4

Please sign in to comment.