Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-cmds
Commits
6a0bd974
Unverified
Commit
6a0bd974
authored
Mar 17, 2018
by
Steven Allen
Committed by
GitHub
Mar 17, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #81 from ipfs/fix/error-printing
restore Error: prefix
parents
3940b104
b32936a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
cli/run.go
cli/run.go
+1
-1
No files found.
cli/run.go
View file @
6a0bd974
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment