diff --git a/config/src/open/opener.rs b/config/src/open/opener.rs index 8b00d8d5..456f1180 100644 --- a/config/src/open/opener.rs +++ b/config/src/open/opener.rs @@ -51,17 +51,17 @@ impl<'de> Deserialize<'de> for Opener { return Err(serde::de::Error::custom("`exec` cannot be empty")); } - // TODO: remove this when v1.0.5 is released -- + // TODO: remove this when v0.1.6 is released -- if shadow.display_name.is_some() { println!( - "WARNING: `display_name` is deprecated and will be removed in Yazi v1.0.6. Use `desc` instead.\ne.g. {}\n\n", + "WARNING: `display_name` is deprecated and will be removed in Yazi v0.1.7. Use `desc` instead.\ne.g. {}\n\n", r#"{ exec = 'nvim "$@"', display_name = "Edit" } ==> { exec = 'nvim "$@"', desc = "Edit" }"# ); } if shadow.display_name.is_some() && shadow.desc.is_none() { shadow.desc = shadow.display_name.clone(); } - // TODO: -- remove this when v1.0.5 is released + // TODO: -- remove this when v0.1.6 is released let desc = shadow.desc.unwrap_or_else(|| shadow.exec.split_whitespace().next().unwrap().to_string());