shish / rosettaboy

A gameboy emulator in several different languages
MIT License
469 stars 22 forks source link

[go] use normal CLI flags #163

Closed shish closed 1 year ago

shish commented 1 year ago

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?

RISHIKESHk07 commented 1 year ago

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

shish commented 1 year ago

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