thekid/inotify-win — pull request #10 by nevik (2014-07-05 14:29:43+00:00)
Title: Support '--<option>=<value>' form for long options

The Linux version of inotifywait uses getopts to parse the commandline
arguments. This supports long options in two formats: the regular
"argument" '--
' form, and the "equals" '--
='
form.

To improve portability of scripts that might use the "equals" form, add
support for this to the argument parser.

Usage of getopts in inotifywait: https://github.com/rvoicilas/inotify-tools/blob/master/src/inotifywait.c#L560
Man page of getopts which also describes the '--
=' form: http://linux.die.net/man/3/getopt