catch getenv() == nullptr, add clarifying message about multiple command line switches