mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-19 18:05:32 +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:

committed by
Brian Tiger Chow

parent
370d2593dc
commit
b053896e5f
@ -62,7 +62,7 @@ func ipfsCmd(c *commander.Command, args []string) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
u.Debug = true
|
// u.Debug = true
|
||||||
err := CmdIpfs.Dispatch(os.Args[1:])
|
err := CmdIpfs.Dispatch(os.Args[1:])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if len(err.Error()) > 0 {
|
if len(err.Error()) > 0 {
|
||||||
|
Reference in New Issue
Block a user