Integrating command-line options and environment variables