Commit f79f1267 authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

refactor(ipfs2/main) split lines

parent 203a0723
......@@ -118,7 +118,8 @@ func createRequest(args []string) (cmds.Request, *cmds.Command, error) {
}
func handleOptions(req cmds.Request, root *cmds.Command) {
if help, err := req.Option("help").Bool(); help && err == nil {
help, err := req.Option("help").Bool()
if help && err == nil {
helpText, err := cmdsCli.HelpText("ipfs", root, req.Path())
if err != nil {
fmt.Println(err.Error())
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment