Do note that `free(NULL)` is a no-op, so the entire closing section should be written as
```C
free(opts);

return 0;
```