diff --git a/README.md b/README.md index 9d59cd64b..b292d778a 100644 --- a/README.md +++ b/README.md @@ -296,18 +296,23 @@ SUBCOMMANDS refs List hashes of links from an object DATA STRUCTURE COMMANDS + dag Interact with IPLD DAG nodes + files Interact with files as if they were a unix filesystem + object Interact with objects (deprecated, use 'dag' or 'files') block Interact with raw blocks in the datastore - object Interact with raw dag nodes - files Interact with objects as if they were a unix filesystem ADVANCED COMMANDS daemon Start a long-running daemon process mount Mount an IPFS read-only mount point resolve Resolve any type of name - name Publish or resolve IPNS names + name Publish and resolve IPNS names + key Create and list IPNS name keypairs dns Resolve DNS links pin Pin objects to local storage - repo Manipulate an IPFS repository + repo Manipulate the IPFS repository + stats Various operational stats + p2p Libp2p stream mounting + filestore Manage the filestore (experimental) NETWORK COMMANDS id Show info about IPFS peers @@ -322,6 +327,8 @@ SUBCOMMANDS version Show IPFS version information update Download and apply go-ipfs updates commands List all available commands + cid Convert and discover properties of CIDs + log Manage and show logs of running daemon Use 'ipfs --help' to learn more about each command. diff --git a/core/commands/object/object.go b/core/commands/object/object.go index 37eb17cff..9ed682758 100644 --- a/core/commands/object/object.go +++ b/core/commands/object/object.go @@ -48,10 +48,10 @@ const ( var ObjectCmd = &cmds.Command{ Helptext: cmds.HelpText{ - Tagline: "Interact with IPFS objects.", + Tagline: "Interact with objects (deprecated, use 'dag' or 'files')", ShortDescription: ` -'ipfs object' is a plumbing command used to manipulate DAG objects -directly.`, +'ipfs object' is a legacy plumbing command used to manipulate DAG objects +directly. Deprecated, use more modern 'ipfs dag' and 'ipfs files' instead.`, }, Subcommands: map[string]*cmds.Command{ diff --git a/core/commands/root.go b/core/commands/root.go index 788f7aabd..7decb8b9b 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -32,7 +32,7 @@ var Root = &cmds.Command{ Synopsis: "ipfs [--config= | -c] [--debug | -D] [--help] [-h] [--api=] [--offline] [--cid-base=] [--upgrade-cidv0-in-output] [--encoding= | --enc] [--timeout=] ...", Subcommands: ` BASIC COMMANDS - init Initialize ipfs local configuration + init Initialize local IPFS configuration add Add a file to IPFS cat Show IPFS object data get Download IPFS objects @@ -40,10 +40,10 @@ BASIC COMMANDS refs List hashes of links from an object DATA STRUCTURE COMMANDS + dag Interact with IPLD DAG nodes + files Interact with files as if they were a unix filesystem + object Interact with objects (deprecated, use 'dag' or 'files') block Interact with raw blocks in the datastore - object Interact with raw dag nodes - files Interact with objects as if they were a unix filesystem - dag Interact with IPLD documents (experimental) ADVANCED COMMANDS daemon Start a long-running daemon process