From 1c7ef8926dbe6a7cdc3b5ca7ba25b91cb913cfa7 Mon Sep 17 00:00:00 2001 From: Brian Tiger Chow <brian.holderchow@gmail.com> Date: Fri, 7 Nov 2014 18:27:56 -0800 Subject: [PATCH] docs(commands) help --- core/commands2/commands.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/commands2/commands.go b/core/commands2/commands.go index 0f102b2c4..f1d7f4fc6 100644 --- a/core/commands2/commands.go +++ b/core/commands2/commands.go @@ -13,7 +13,12 @@ type Command struct { } var commandsCmd = &cmds.Command{ - Help: "TODO", + // TODO UsageLine: "commands", + // TODO Short: "List all available commands.", + Help: `ipfs commands - List all available commands. + + Lists all available commands (and sub-commands) and exits. + `, Run: func(res cmds.Response, req cmds.Request) { root := outputCommand("ipfs", Root) res.SetOutput(&root) -- GitLab