bro-cut --help gives the error message:
bro-cut: illegal option – -
bro-cut needs to use getopt_long to add support for --help back in.
I see that bro ships with src/bsd-getopt-long.c for platforms that do not have it.. does anyone know the history behind this? I'm not sure if this should be imported into the bro-cut repository as well, or just assume that it is already present on all supported platforms.
in the meantime I will at least get the underlying issue fixed.
I pushed an initial fix for this to topic/jazoff/ticket1436
Other than the bsd-getopt inclusion issue that should be all there is to it.
Using getopt_long shouldn't be a problem I'm guessing. I'll merge as is, and if no problems show up, I'll remove the custom code from Bro as well.