Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Changed from matches to route subcommand matches #1448

Merged
merged 2 commits into from
Jul 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down