From b2934bb89acbd2e1dadc72571687cb408e271325 Mon Sep 17 00:00:00 2001 From: jspspike Date: Mon, 13 Jul 2020 17:49:51 -0500 Subject: [PATCH] Changed from matches to route subcommand matches --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 94c44ba4d..15f05ee4c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -829,7 +829,7 @@ fn run() -> Result<(), failure::Error> { .unwrap_or(commands::DEFAULT_CONFIG_PATH), ); let manifest = settings::toml::Manifest::new(config_path)?; - let env = matches.value_of("env"); + let env = subcommand_matches.unwrap().value_of("env"); let env_zone_id = if let Some(environment) = manifest.get_environment(env)? { environment.zone_id.as_ref()