Skip to content

Commit

Permalink
Merge pull request #7514 from martriay/doc/add-without-daemon-behavior
Browse files Browse the repository at this point in the history
Document add behavior when the daemon is not running
  • Loading branch information
aschmahmann committed Jul 17, 2020
2 parents 3d3c036 + c532cb4 commit 8dcd260
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 8dcd260

Please sign in to comment.