fix segfault on unknown long option