Permalink
Browse files

Update an obsolete comment

  • Loading branch information...
1 parent 95cb452 commit 71fa880fe78854c26147740816b474c2f9e8977d @gaal committed May 10, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 options/options.go
View
@@ -108,9 +108,8 @@ OptionSpec.ParseCallback:
}
spec.ParseCallback = myParseCallback
- _, _, extra := spec.Parse(os.Args[1:])
- // Note that the first two return values of Parse are not useful when using
- // a custom parse callback.
+ opt := spec.Parse(os.Args[1:])
+ // Note that the opt.Get won't work when using a custom parse callback.
*/
package options

3 comments on commit 71fa880

@soniah
soniah commented on 71fa880 Sep 6, 2012

$(GOROOT)/src/Make.inc is mentioned in the source files but not included in the repo, therefore package won't build.

Also, wouldn't it be easier to use the stand go build tools rather than writing Makefiles?

@gaal
Owner
gaal commented on 71fa880 Sep 7, 2012

You should be able to install with "go get github.com/gaal/go-options/options", please tell me if that's not the case. The makefiles were pre-Go 1 cruft, which is now removed. Thanks!

@soniah
soniah commented on 71fa880 Sep 7, 2012
Please sign in to comment.