mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
e974531d76
commit
ab2338e7e0
1 changed files with 3 additions and 3 deletions
|
|
@ -30,11 +30,11 @@ impl TryFrom<CmdCow> for PluginOpt {
|
||||||
Cmd::parse_args(yazi_shared::shell::split_unix(s)?.into_iter(), true)?
|
Cmd::parse_args(yazi_shared::shell::split_unix(s)?.into_iter(), true)?
|
||||||
} else if let Some(s) = c.str("args") {
|
} else if let Some(s) = c.str("args") {
|
||||||
crate::deprecate!(
|
crate::deprecate!(
|
||||||
"The `args` parameter of the `plugin` command has been deprecated. Please use the second positional argument of `plugin` instead.
|
format!("The `args` parameter of the `plugin` command has been deprecated. Please use the second positional argument of `plugin` instead.
|
||||||
|
|
||||||
For example, replace `plugin test --args=foobar` with `plugin test foobar`.
|
For example, replace `plugin test --args=foobar` with `plugin test foobar`, for your `plugin {}` command.
|
||||||
|
|
||||||
See #2299 for more information: https://github.com/sxyazi/yazi/pull/2299"
|
See #2299 for more information: https://github.com/sxyazi/yazi/pull/2299", id)
|
||||||
);
|
);
|
||||||
Cmd::parse_args(yazi_shared::shell::split_unix(s)?.into_iter(), true)?
|
Cmd::parse_args(yazi_shared::shell::split_unix(s)?.into_iter(), true)?
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue