| ▲ | hnfong an hour ago | ||||||||||||||||||||||
Double dash long options are basically a GNU extension. BSD utilities generally don't support them. Apparently macOS does not either (since it's based off of FreeBSD) | |||||||||||||||||||||||
| ▲ | JdeBP an hour ago | parent [-] | ||||||||||||||||||||||
macOS was based off NeXTSTEP, not FreeBSD. And the received wisdom about long options in the BSDs is a quarter of a century out of date. When the BSDs gained a getopt_long() in their C libraries thanks to Klausner and Baron, long options quietly started appearing. This process has been gradually and quietly on-going for the whole of the 21st century. | |||||||||||||||||||||||
| |||||||||||||||||||||||