/gnuflag

Go flag package with same API as stdlib flag but parsing GNU-style --flagname flags

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Gnuflag

The gnuflag repository holds a fork of the Go standard library flag package that supports GNU-compatible flag syntax.

In particular, it supports --longflag and -l single-character flag syntax.

The API is compatible with the standard flag package API.

Full documentation can be found here: https://godoc.org/github.com/rogpeppe/gnuflag/flag.