Prepare for supporting flags.
Support command-line flags.