mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
df18c54fe8
commit
dc4a6fa56a
1 changed files with 5 additions and 0 deletions
|
|
@ -36,6 +36,11 @@ impl<'de> Deserialize<'de> for Opener {
|
||||||
if shadow.args.is_none() {
|
if shadow.args.is_none() {
|
||||||
return Err(serde::de::Error::missing_field("args"));
|
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
|
// Replace the $0 to $1, $1 to $2, and so on
|
||||||
shadow.args = Some(
|
shadow.args = Some(
|
||||||
shadow
|
shadow
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue