refactor(ipfs2/main) split lines
Brian Tiger Chow committed
Nov 10, 2014 at 22:23 UTC
f79f1267f797350ed6ea23584f4d8c0caf6e2a30
1 file changed
+2
-1
cmd/ipfs2/main.go
+2
-1
@@ -118,7 +118,8 @@ func createRequest(args []string) (cmds.Request, *cmds.Command, error) {
118
}
119
120
func handleOptions(req cmds.Request, root *cmds.Command) {
121
- if help, err := req.Option("help").Bool(); help && err == nil {
121
+ help, err := req.Option("help").Bool()
122
+ if help && err == nil {
123
helpText, err := cmdsCli.HelpText("ipfs", root, req.Path())
124
if err != nil {
125
fmt.Println(err.Error())