Commit bcebcb2b authored by ergonlogic's avatar ergonlogic

Clean up for clarity.

parent 45b12d27
......@@ -205,8 +205,8 @@ class Provision_Config {
}
$status = provision_file()->file_put_contents($filename, $this->render_template($template, $this->data))
->succeed('Generated config ' . (empty($this->description) ? $filename : $this->description), 'success')
->fail('Could not generate ' . (empty($this->description) ? $filename : $this->description))->status();
->succeed('Generated config ' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'), 'success')
->fail('Could not generate ' . (empty($this->description) ? $filename : $this->description . ' (' . $filename. ')'))->status();
// Change the permissions of the file if needed
if (!is_null($this->mode)) {
......
<?php
// $Id$
/**
* @file Provision named context base classes.
......@@ -17,7 +16,7 @@
* $name.
*
* @return
* provision_Context object or NULL if it can't be loaded and
* provision_Context object (by reference) or NULL if it can't be loaded and
* $allow_creation == FALSE.
*/
function & d($name = NULL, $_root_object = FALSE, $allow_creation = TRUE) {
......
......@@ -93,8 +93,10 @@ function provision_drush_command() {
),
'options' => array_merge(array(
'context_type' => 'server, platform, or site; default server',
'delete' => 'Remove the alias.',
), Provision_Context_server::option_documentation(), Provision_Context_platform::option_documentation(), Provision_Context_site::option_documentation()),
'delete' => 'Remove the alias.'),
Provision_Context_server::option_documentation(),
Provision_Context_platform::option_documentation(),
Provision_Context_site::option_documentation()),
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
);
$items['provision-install'] = array(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment