shish / rosettaboy

A gameboy emulator in several different languages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[go] use normal CLI flags

shish opened this issue · comments

Every other language has -x for short flags and --xxx for long flags -- go uses -xxx for long flags and doesn't support (?) short flags. Is there a third-party flags library which acts more normal?

hey @shish i am a novice in go, I found this project https://github.com/spf13/pflag
not sure it will help

That does look very useful - if it's as simple as it looks this might be a one-liner :O