提交 e2a96f87 编写于 作者: C Chris Wanstrath

stderr tweak

上级 f9eb3729
......@@ -161,7 +161,7 @@ module Hub
args.shift
protocol = args.delete('-p') ? 'https' : 'http'
dest = args.pop
if dest
if dest.include? '/'
# $ hub browse pjhyett/github-services
......@@ -174,7 +174,7 @@ module Hub
# $ hub browse
user, repo = OWNER, REPO
else
$stderr.puts "Usage: hub browse [<USER>/]<REPOSITORY>"
warn "Usage: hub browse [<USER>/]<REPOSITORY>"
exit(1)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册