diff --git a/teos/src/config.rs b/teos/src/config.rs index 5436725f..c5e1e820 100644 --- a/teos/src/config.rs +++ b/teos/src/config.rs @@ -203,6 +203,12 @@ impl Config { self.tor_support |= options.tor_support; self.debug |= options.debug; self.deps_debug |= options.deps_debug; + if self.overwrite_key { + panic!("The 'overwrite_key' parameter cannot be set in the configuration file."); + } + if self.force_update { + panic!("The 'force_update' parameter cannot"); + } self.overwrite_key = options.overwrite_key; self.force_update = options.force_update; }