Implement command-line argument parsing, and reusing an existing key.