Add command-line options support.