certdb/Main: convert option parser to a loop
certdb/Main: convert option parser to a loop

Prepare to add more options.

CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy,CM4all/beng-proxy