From 41e7142dfc278d02aaf2dce1ef15b9f4eb1d709e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Potvin?= Date: Sun, 26 Mar 2017 13:02:50 -0400 Subject: [PATCH] [#1200] Clarified `install` and `direct-install` (#1384) To help user that need to install specific version of a package. So far it wasn't absolutely clear how to achieve and some users ended up asking for help or opening issues asking for the feature. --- system/src/Grav/Console/Gpm/DirectInstallCommand.php | 2 +- system/src/Grav/Console/Gpm/InstallCommand.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/Grav/Console/Gpm/DirectInstallCommand.php b/system/src/Grav/Console/Gpm/DirectInstallCommand.php index 202840289..679d5c635 100644 --- a/system/src/Grav/Console/Gpm/DirectInstallCommand.php +++ b/system/src/Grav/Console/Gpm/DirectInstallCommand.php @@ -31,7 +31,7 @@ class DirectInstallCommand extends ConsoleCommand ->addArgument( 'package-file', InputArgument::REQUIRED, - 'The local location or remote URL to an installable package file' + 'Installable package local or remote . Can install specific version' ) ->setDescription("Installs Grav, plugin, or theme directly from a file or a URL") ->setHelp('The direct-install command installs Grav, plugin, or theme directly from a file or a URL'); diff --git a/system/src/Grav/Console/Gpm/InstallCommand.php b/system/src/Grav/Console/Gpm/InstallCommand.php index 70a113515..bd01ead2b 100644 --- a/system/src/Grav/Console/Gpm/InstallCommand.php +++ b/system/src/Grav/Console/Gpm/InstallCommand.php @@ -80,7 +80,7 @@ class InstallCommand extends ConsoleCommand ->addArgument( 'package', InputArgument::IS_ARRAY | InputArgument::REQUIRED, - 'The package(s) that are desired to be installed. Use the "index" command for a list of packages' + 'Package(s) to install. Use "bin/gpm index" to list packages. Use "bin/gpm direct-install" to install a specific version' ) ->setDescription("Performs the installation of plugins and themes") ->setHelp('The install command allows to install plugins and themes');