You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
If possible, include a link to a program on play.golang.org.
1. Create a new flagset and set the error handling to anything.
2. Register a boolean flag.
3. Parse the command arguments and print the value of any errors returned.
3. Run the program and pass a non boolean variable to the flag (something other than
'true' or 'false')
4. Example: http://play.golang.org/p/tb_09vpnl9
What is the expected output?
Perform whatever the error handler dictates, either panic, exit, or continue on error
(returning the error).
What do you see instead?
The flag usage is printed, but we return from the Parse(..) function normally with a nil
error.
Which compiler are you using (5g, 6g, 8g, gccgo)?
Using go build
Which operating system are you using?
Ubuntu 12.04
Which version are you using? (run 'go version')
go1.0.1 and go1.0.2
The text was updated successfully, but these errors were encountered:
by manoj.dayaram@moovweb.com:
The text was updated successfully, but these errors were encountered: