@cryptotaxi247 / kubo / commits / a4488cab4

cmds: root help inc synopsis

Juan Batiz-Benet committed Nov 15, 2014 at 08:56 UTC a4488cab4cf244f5767b3afde882e709a78ff55a
1 file changed +7 -1
core/commands2/root.go
+7 -1
@@ -14,7 +14,10 @@ type TestOutput struct {
14
15 var Root = &cmds.Command{
16 Helptext: cmds.HelpText{
17 - Tagline: "Global P2P Merkle-DAG filesystem",
17 + Tagline: "global p2p merkle-dag filesystem",
18 + Synopsis: `
19 +ipfs [<flags>] <command> [<arg>] ...
20 +`,
21 ShortDescription: `
22 Basic commands:
23
@@ -32,6 +35,7 @@ Tool commands:
35
36 Advanced Commands:
37
38 + daemon Start a long-running daemon process
39 mount Mount an ipfs read-only mountpoint
40 serve Serve an interface to ipfs
41 diag Print diagnostics
@@ -40,6 +44,8 @@ Plumbing commands:
44
45 block Interact with raw blocks in the datastore
46 object Interact with raw dag nodes
47 +
48 +Use 'ipfs <command> --help' to learn more about each command.
49 `,
50 },
51 Options: []cmds.Option{