The sandwich.drush.inc example file is out of date. It uses the following for the "examples" key:

    'examples' => array(
      'drush make-me-a-sandwich turkey --spreads=ketchup,mustard',
    ),

However, when I use that pattern I get the the a column 0 and a column with that text. The actual format to use is (taken from sql-sync):

    'examples' => array(
      'drush sql-sync @dev @prod' => 'Copy the DB defined in sites/dev to the DB in sites/prod.',
    ),

That is, it's an associative array of example and description of the example.

Comments

moshe weitzman’s picture

OK, come up with humorous description :)

Crell’s picture

"Make a terrible-tasting sandwich that is lacking in pickles."

moshe weitzman’s picture

Status: Active » Fixed

Well done. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.