Added support for the --command flag.