diff --git a/crates/nu-command/src/deprecated/let_env.rs b/crates/nu-command/src/deprecated/let_env.rs index 84ecb214fb..657e1f006e 100644 --- a/crates/nu-command/src/deprecated/let_env.rs +++ b/crates/nu-command/src/deprecated/let_env.rs @@ -36,7 +36,7 @@ impl Command for LetEnvDeprecated { ) -> Result { Err(nu_protocol::ShellError::DeprecatedCommand( self.name().to_string(), - "$nu. = ...".to_owned(), + "$env. = ...".to_owned(), call.head, )) }