FlagSet Examples

161 views
Skip to first unread message

Scott Turnbull

unread,
Jun 30, 2013, 8:35:29 PM6/30/13
to golan...@googlegroups.com
Are there any good examples of the flag.FlagSet use.  Googling around isn't finding much and the GitHub examples I'm finding either seem to have bugs are seem very overly complex.  Is there no simple way to parse commandline arguments in Go that are not very verbose?

Kyle Lemons

unread,
Jul 1, 2013, 2:11:07 PM7/1/13
to Scott Turnbull, golang-nuts
I use FlagSet to implement subcommands for rx:


On Sun, Jun 30, 2013 at 5:35 PM, Scott Turnbull <stream...@gmail.com> wrote:
Are there any good examples of the flag.FlagSet use.  Googling around isn't finding much and the GitHub examples I'm finding either seem to have bugs are seem very overly complex.  Is there no simple way to parse commandline arguments in Go that are not very verbose?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages