From c8f1028ef95faedb2dbad69dcac2b1e6361a678b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 20 Dec 2023 15:16:12 +0100 Subject: [PATCH] Fix minor error msg issue --- src/Composer/Command/ShowCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ShowCommand.php b/src/Composer/Command/ShowCommand.php index 083a49ec3..3e010fc31 100644 --- a/src/Composer/Command/ShowCommand.php +++ b/src/Composer/Command/ShowCommand.php @@ -293,7 +293,7 @@ EOT if (PlatformRepository::isPlatformPackage($packageFilter) && !$input->getOption('platform')) { $hint .= ', try using --platform (-p) to show platform packages'; } - if (!$input->getOption('all')) { + if (!$input->getOption('all') && !$input->getOption('available')) { $hint .= ', try using --available (-a) to show all available packages'; }