From c532cb4d5ae7b49f644a7f438d9fedd007b83ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Triay?= Date: Sat, 27 Jun 2020 15:57:18 -0300 Subject: [PATCH] Document add behavior when the daemon is not running --- core/commands/add.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/commands/add.go b/core/commands/add.go index c66994b37..df8dd5f9b 100644 --- a/core/commands/add.go +++ b/core/commands/add.go @@ -60,6 +60,10 @@ Adds contents of 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