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

uncommenting global debug

let's keep this a turn-on for testing sort of thing.
(want the outputs of commands like `ipfs add` to be
usable as inputs to other programs/scripts).

maybe we should consider adding a --debug (not -d),
once we figure out adding flags that apply globally :)
@whyrusleeping
This commit is contained in:
Juan Batiz-Benet
2014-09-20 07:21:43 -07:00
committed by Brian Tiger Chow
parent 370d2593dc
commit b053896e5f

View File

@ -62,7 +62,7 @@ func ipfsCmd(c *commander.Command, args []string) error {
}
func main() {
u.Debug = true
// u.Debug = true
err := CmdIpfs.Dispatch(os.Args[1:])
if err != nil {
if len(err.Error()) > 0 {