aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.rs')
-rw-r--r--src/cmd.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cmd.rs b/src/cmd.rs
index 36151a8..838d3b1 100644
--- a/src/cmd.rs
+++ b/src/cmd.rs
@@ -90,13 +90,6 @@ pub fn run(matches: &clap::ArgMatches<'_>) -> Result<()> {
// work, so we should recreate it from scratch.
config = config::Config::default();
}
- // as far as i can tell, the Environment source can never actually fail.
- // this is good because figuring out the logic to handle recreating the
- // config object correctly (as per the previous comment) would be quite
- // complicated.
- config
- .merge(config::Environment::with_prefix("TELETERM"))
- .unwrap();
let mut cmd_config = (chosen_cmd.config)(config);
cmd_config.merge_args(chosen_submatches)?;