This commit is contained in:
sxyazi 2023-08-12 17:07:33 +08:00
parent df18c54fe8
commit dc4a6fa56a
No known key found for this signature in database

View file

@ -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