On Fri, 21 Oct 2016, Karel Zak wrote: > I have applied a little bit different solution > https://github.com/karelzak/util-linux/commit/e1164591f7927402af8d73d340e75dbfeb06a288 > > now add_longopt(ctl, NULL, 0) always terminates the array. > > Please, re-test it. Thanks! Works for me. Anders -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html