From ab2338e7e0967f01a6b50ee53c91bf5d3c8e8d9f Mon Sep 17 00:00:00 2001 From: sxyazi Date: Fri, 7 Feb 2025 02:50:43 +0800 Subject: [PATCH] .. --- yazi-proxy/src/options/plugin.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yazi-proxy/src/options/plugin.rs b/yazi-proxy/src/options/plugin.rs index 3a93d5ee..eb1c81c6 100644 --- a/yazi-proxy/src/options/plugin.rs +++ b/yazi-proxy/src/options/plugin.rs @@ -30,11 +30,11 @@ impl TryFrom for PluginOpt { Cmd::parse_args(yazi_shared::shell::split_unix(s)?.into_iter(), true)? } else if let Some(s) = c.str("args") { 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)? } else {