From a4488cab4cf244f5767b3afde882e709a78ff55a Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Sat, 15 Nov 2014 08:56:49 -0800 Subject: [PATCH] cmds: root help inc synopsis --- core/commands2/root.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/commands2/root.go b/core/commands2/root.go index bcf58f565..f71b75955 100644 --- a/core/commands2/root.go +++ b/core/commands2/root.go @@ -14,7 +14,10 @@ type TestOutput struct { var Root = &cmds.Command{ Helptext: cmds.HelpText{ - Tagline: "Global P2P Merkle-DAG filesystem", + Tagline: "global p2p merkle-dag filesystem", + Synopsis: ` +ipfs [] [] ... +`, ShortDescription: ` Basic commands: @@ -32,6 +35,7 @@ Tool commands: Advanced Commands: + daemon Start a long-running daemon process mount Mount an ipfs read-only mountpoint serve Serve an interface to ipfs diag Print diagnostics @@ -40,6 +44,8 @@ Plumbing commands: block Interact with raw blocks in the datastore object Interact with raw dag nodes + +Use 'ipfs --help' to learn more about each command. `, }, Options: []cmds.Option{