projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Version 1
[yaffs-website]
/
vendor
/
drush
/
drush
/
tests
/
hooks
/
magic_help_alter
/
magic.drush.inc
diff --git a/vendor/drush/drush/tests/hooks/magic_help_alter/magic.drush.inc
b/vendor/drush/drush/tests/hooks/magic_help_alter/magic.drush.inc
new file mode 100644
(file)
index 0000000..
9ad93d9
--- /dev/null
+++ b/
vendor/drush/drush/tests/hooks/magic_help_alter/magic.drush.inc
@@ -0,0
+1,12
@@
+<?php
+
+/**
+ * Implement hook_drush_help_alter()
+ *
+ * @param type $command
+ */
+function magic_drush_help_alter(&$command) {
+ if ($command['command'] = 'version') {
+ $command['options']['magic'] = 'Some magic flag';
+ }
+}