diff --git a/cli/Valet/Configuration.php b/cli/Valet/Configuration.php index 6b3eee7..b5c8680 100644 --- a/cli/Valet/Configuration.php +++ b/cli/Valet/Configuration.php @@ -119,7 +119,7 @@ function prependPath($path) } /** - * Add the given path to the configuration. + * Remove the given path from the configuration. * * @param string $path * @return void diff --git a/cli/valet.php b/cli/valet.php index 655fa81..c8c4ab7 100755 --- a/cli/valet.php +++ b/cli/valet.php @@ -136,7 +136,7 @@ Caddy::restart(); info('The ['.$url.'] site has been secured with a fresh TLS certificate.'); -}); +})->descriptions('Secure the given domain with a trusted TLS certificate'); $app->command('unsecure [domain]', function ($domain = null) { $url = ($domain ?: Site::host(getcwd())).'.'.Configuration::read()['domain']; @@ -148,7 +148,7 @@ Caddy::restart(); info('The ['.$url.'] site will now serve traffic over HTTP.'); -}); +})->descriptions('Deconfigure the given domain from using a TLS certificate, and serve HTTP again'); /** * Determine which Valet driver the current directory is using.