I had tried that but getopt treats a nullptr as meaning the flag does not accept an argument:

```
./pdf2htmlEX --font-format=foo
pdf2htmlEX: option `--font-format' doesn't allow an argument
```