Gelio / go-global-update

A command to update globally installed go executables
MIT License
146 stars 4 forks source link

fix(cli): allow combining multiple short options into one arg #17

Closed Gelio closed 2 years ago

Gelio commented 2 years ago

Enable short option handling for CLI arguments. Allows using multiple single-letter flags in a single CLI argument. For example:

go-global-update -nv

is equivalent to:

go-global-update -n -v

This matches the standard POSIX behavior.

See https://github.com/urfave/cli/blob/master/docs/v2/manual.md#combining-short-options

Related to #15