From 0599c98e76b0effd1f234f0093d56828a72fa6d0 Mon Sep 17 00:00:00 2001 From: Rot127 <45763064+Rot127@users.noreply.github.com> Date: Mon, 22 Jun 2026 11:24:46 +0000 Subject: [PATCH] Add hint for -F, if multiple bin plugins can load the binary. (#6548) --- librz/bin/bin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/librz/bin/bin.c b/librz/bin/bin.c index b6b29b8ace..6f7737288d 100644 --- a/librz/bin/bin.c +++ b/librz/bin/bin.c @@ -423,7 +423,8 @@ RZ_API RzBinPlugin *rz_bin_get_binplugin_by_buffer(RzBin *bin, RzBuffer *buf) { const char *default_plugin = rz_pvector_at(compatible_plugins, 0); if (rz_pvector_len(compatible_plugins) > 1) { RzStrBuf *compatible_plugin_list = join_plugin_names(compatible_plugins); - RZ_LOG_WARN("The input file can be opened by multiple binary plugins (%s). The '%s' plugin will be used by default.\n", + RZ_LOG_WARN("The input file can be opened by multiple binary plugins (%s). The '%s' plugin will be used by default.\n" + "You can also open the file with 'rizin -F ' to force a specific one.\n\n", compatible_plugin_list ? rz_strbuf_get(compatible_plugin_list) : "", default_plugin); rz_strbuf_free(compatible_plugin_list); }