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
@@ -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';
+  }
+}