I've bumped on this a few times now. This `getopt(3)` behavior is controlled by the `POSIXLY_CORRECT` environment variable. Setting this will get you the illumos behavior, but it is not the default on Linux. See the full discussion in the man page.
http://man7.org/linux/man-pages/man3/getopt.3.html -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/openzfs/openzfs/pull/619#issuecomment-424452405 ------------------------------------------ openzfs: openzfs-developer Permalink: https://openzfs.topicbox.com/groups/developer/T0465226805877059-M58e3771fa2a806b8b779b914 Delivery options: https://openzfs.topicbox.com/groups/developer/subscription
