From 090953d2980d6a361cf14af8c0bd142cf0e2c3b5 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Tue, 30 Mar 2021 21:22:55 +0200 Subject: [PATCH] docs: tweak ipfs cmd help https://github.com/ipfs/go-ipfs/pull/8010#discussion_r600842235 https://github.com/ipfs/go-ipfs/pull/8010#discussion_r600842123 --- core/commands/add.go | 4 ++-- core/commands/config.go | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/core/commands/add.go b/core/commands/add.go index 3284d1130..0be67a203 100644 --- a/core/commands/add.go +++ b/core/commands/add.go @@ -53,10 +53,10 @@ var AddCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Add a file or directory to IPFS.", ShortDescription: ` -Adds contents of to IPFS. Use -r to add directories (recursively). +Adds the content of to IPFS. Use -r to add directories (recursively). `, LongDescription: ` -Adds contents of to IPFS. Use -r to add directories. +Adds the content of to IPFS. Use -r to add directories. Note that directories are added recursively, to form the IPFS MerkleDAG. diff --git a/core/commands/config.go b/core/commands/config.go index a5157ac9c..587d6cee4 100644 --- a/core/commands/config.go +++ b/core/commands/config.go @@ -41,12 +41,11 @@ var ConfigCmd = &cmds.Command{ Tagline: "Get and set IPFS config values.", ShortDescription: ` 'ipfs config' controls configuration variables. It works like 'git config'. -The configuration values are stored in a config file inside your IPFS_PATH -repository.`, +The configuration values are stored in a config file inside your IPFS_PATH.`, LongDescription: ` 'ipfs config' controls configuration variables. It works much like 'git config'. The configuration values are stored in a config -file inside your IPFS repository. +file inside your IPFS repository (IPFS_PATH). Examples: