Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> because the stdlib one kind of sucks

It doesn’t. It’s simpler, which makes it not suck in my books.

All the stuff about short vs long, grouping short flags together, allowing the last flag of a group of short flags to take an argument, allowing a flag to take multiple values, etc. is cool, but confusing and quite hard to do right.

In Go it’s just -flag[=value].



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: