Closed fpistm closed 2 months ago
By default, MacOS uses getopt from FreeBSD and not the GNU-based one. Then "-o" and long options are not supported except if gnu-getopt is installed.
Fixes #99
Main advantage to kept GNU getopt by default is it is able to deal with space in arguments. Install the package gnu-getopt via e.g. Homebrew:
gnu-getopt
brew install gnu-getopt
If not installed the BSD getopt is used but long option and space in arguments are not supported.
By default, MacOS uses getopt from FreeBSD and not the GNU-based one. Then "-o" and long options are not supported except if gnu-getopt is installed.
Fixes #99
Main advantage to kept GNU getopt by default is it is able to deal with space in arguments. Install the package
gnu-getopt
via e.g. Homebrew:If not installed the BSD getopt is used but long option and space in arguments are not supported.