This website works better with JavaScript.
Home
Explore
Help
Sign In
brettlangdon
/
pypihub
mirror of
https://github.com/brettlangdon/pypihub.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1
Wiki
Activity
Browse Source
Merge pull request
#14
from walle/usage_on_stderr_bug
Fix bug with error not being written to stderr
Alex Flint
10 years ago
parent
0f9dfa27d1
df17f4df45
commit
c4704194de
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
usage.go
+ 1
- 1
usage.go
View File
@ -12,7 +12,7 @@ import (
// Fail prints usage information to stderr and exits with non-zero status
func
(
p
*
Parser
)
Fail
(
msg
string
)
{
p
.
WriteUsage
(
os
.
Stderr
)
fmt
.
Println
(
"error:"
,
msg
)
fmt
.
Fprintln
(
os
.
Stderr
,
"error:"
,
msg
)
os
.
Exit
(
-
1
)
}
Write
Preview
Loading…
Cancel
Save