diff --git a/config/src/open/opener.rs b/config/src/open/opener.rs index 9208e5ad..29c19236 100644 --- a/config/src/open/opener.rs +++ b/config/src/open/opener.rs @@ -36,6 +36,11 @@ impl<'de> Deserialize<'de> for Opener { if shadow.args.is_none() { return Err(serde::de::Error::missing_field("args")); } + + println!( + "WARNING: `cmd` and `args` are deprecated in favor of `exec` in Yazi v0.1.5, see https://github.com/sxyazi/yazi/pull/45" + ); + // Replace the $0 to $1, $1 to $2, and so on shadow.args = Some( shadow