Unverified Commit 6a0bd974 authored by Steven Allen's avatar Steven Allen Committed by GitHub

Merge pull request #81 from ipfs/fix/error-printing

restore Error: prefix
parents 3940b104 b32936a0
...@@ -29,7 +29,7 @@ func Run(ctx context.Context, root *cmds.Command, ...@@ -29,7 +29,7 @@ func Run(ctx context.Context, root *cmds.Command,
buildEnv cmds.MakeEnvironment, makeExecutor cmds.MakeExecutor) error { buildEnv cmds.MakeEnvironment, makeExecutor cmds.MakeExecutor) error {
printErr := func(err error) { printErr := func(err error) {
fmt.Fprintf(stderr, "%s\n", err) fmt.Fprintf(stderr, "Error: %s\n", err)
} }
req, errParse := Parse(ctx, cmdline[1:], stdin, root) req, errParse := Parse(ctx, cmdline[1:], stdin, root)
......
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