diff options
author | Jesse Luehrs <doy@tozt.net> | 2019-10-20 00:12:57 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2019-10-20 00:52:52 -0400 |
commit | a1ffe44fd293bec84f56e858bec7a860ec643118 (patch) | |
tree | f1730a08a9a6c4579eeb9158b8099acd8f514769 | |
parent | 31535dfd1d36d255451fa8dd2785d03032d10ce3 (diff) | |
download | teleterm-a1ffe44fd293bec84f56e858bec7a860ec643118.tar.gz teleterm-a1ffe44fd293bec84f56e858bec7a860ec643118.zip |
i don't actually care about configuration via env vars
-rw-r--r-- | src/cmd.rs | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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)?; |