Skip to content

Commit

Permalink
Fix #3022. Stop duplicating topics and fix config topic.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Oct 6, 2017
1 parent 213774f commit f252857
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Commands/core/DocsCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function bashrc()
}

/**
* Configuration overview with examples from example.config.yml.
* Configuration overview with examples from example.drush.yml.
*
* @command docs:configuration
* @aliases docs-configuration
Expand All @@ -61,7 +61,7 @@ public function bashrc()
*/
public function config()
{
self::printFile(DRUSH_BASE_PATH. '/examples/example.config.yml');
self::printFile(DRUSH_BASE_PATH. '/examples/example.drush.yml');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Commands/core/TopicCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public static function getAllTopics()
/** @var \Consolidation\AnnotatedCommand\AnnotationData $annotationData */
$annotationData = $command->getAnnotationData();
if ($annotationData->has('topic')) {
$topics[$key] = $command;
$topics[$command->getName()] = $command;
}
}
}
Expand Down

0 comments on commit f252857

Please sign in to comment.