Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1552)

Issue 13956043: code review 13956043: go.tools/cover: validate flags with appropriate error m... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by nathany
Modified:
10 years, 5 months ago
Reviewers:
r
CC:
golang-dev, r
Visibility:
Public.

Description

go.tools/cover: validate flags with appropriate error messages Fixes issue 6444.

Patch Set 1 #

Patch Set 2 : diff -r a86816b20f04 https://code.google.com/p/go.tools #

Patch Set 3 : diff -r a86816b20f04 https://code.google.com/p/go.tools #

Total comments: 4

Patch Set 4 : diff -r a86816b20f04 https://code.google.com/p/go.tools #

Patch Set 5 : diff -r a86816b20f04 https://code.google.com/p/go.tools #

Total comments: 4

Patch Set 6 : diff -r a86816b20f04 https://code.google.com/p/go.tools #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -33 lines) Patch
M cmd/cover/cover.go View 1 2 3 4 5 2 chunks +54 lines, -33 lines 0 comments Download

Messages

Total messages: 9
nathany
Hello golang-dev@googlegroups.com (cc: r@golang.org), I'd like you to review this change to https://code.google.com/p/go.tools
10 years, 6 months ago (2013-09-26 06:13:40 UTC) #1
r
https://codereview.appspot.com/13956043/diff/6001/cmd/cover/cover.go File cmd/cover/cover.go (right): https://codereview.appspot.com/13956043/diff/6001/cmd/cover/cover.go#newcode97 cmd/cover/cover.go:97: cover(flag.Arg(0)) return then drop the next else. it's really ...
10 years, 6 months ago (2013-09-26 06:43:57 UTC) #2
nathany
https://codereview.appspot.com/13956043/diff/6001/cmd/cover/cover.go File cmd/cover/cover.go (right): https://codereview.appspot.com/13956043/diff/6001/cmd/cover/cover.go#newcode109 cmd/cover/cover.go:109: // validateFlags reports invalid argument errors and sets up ...
10 years, 6 months ago (2013-09-26 06:58:50 UTC) #3
r
parseFlags sounds right.
10 years, 6 months ago (2013-09-26 07:01:21 UTC) #4
nathany
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 6 months ago (2013-09-26 07:08:07 UTC) #5
r
starting to look good https://codereview.appspot.com/13956043/diff/17001/cmd/cover/cover.go File cmd/cover/cover.go (right): https://codereview.appspot.com/13956043/diff/17001/cmd/cover/cover.go#newcode88 cmd/cover/cover.go:88: if err := parseFlags(); err ...
10 years, 6 months ago (2013-09-26 07:59:26 UTC) #6
nathany
On 2013/09/26 07:59:26, r wrote: > starting to look good thanks for the code review. ...
10 years, 6 months ago (2013-09-26 08:08:33 UTC) #7
r
LGTM
10 years, 6 months ago (2013-09-26 08:09:36 UTC) #8
r
10 years, 6 months ago (2013-09-26 08:11:14 UTC) #9
*** Submitted as
https://code.google.com/p/go/source/detail?r=da5f2d81e876&repo=tools ***

go.tools/cover: validate flags with appropriate error messages

Fixes issue 6444.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/13956043

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b