Replace custom command-line options processing with argp