1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 19:44:01 +08:00

s/\[0:/\[:/g

License: MIT
Signed-off-by: rht <rhtbot@gmail.com>
This commit is contained in:
rht
2015-11-25 16:09:11 +07:00
committed by Jeromy
parent 743f3edcbb
commit bf26b59c37
4 changed files with 6 additions and 6 deletions

View File

@ -187,7 +187,7 @@ func parseOpts(args []string, root *cmds.Command) (
}
}
var end bool
end, err = parseFlag(arg[0:1], rest, mustUse)
end, err = parseFlag(arg[:1], rest, mustUse)
if err != nil {
return
}