Skip to content

Commit

Permalink
Merge branch 'registerMultiTask-output' of https://github.com/scottgo…
Browse files Browse the repository at this point in the history
…nzalez/grunt into scottgonzalez-registerMultiTask-output

* 'registerMultiTask-output' of https://github.com/scottgonzalez/grunt:
  Fixed example output for grunt.registerMultiTask.
  • Loading branch information
cowboy committed Mar 21, 2012
2 parents 6fc8bb0 + ab7f864 commit b9cb658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Many of the built-in tasks, including the [lint task](task_lint.md), [concat tas
grunt.registerMultiTask(taskName, description, taskFunction)
```

Given the specified configuration, this example multi task would log `foo: 1,2,3` if grunt was run via `grunt log:foo`, or it would log `bar: hello world` if grunt was run via `grunt log:bar`. If grunt was run as `grunt log` however, it would log `foo: 1,2,3` then `bar: hello world` then `grunt baz: false`.
Given the specified configuration, this example multi task would log `foo: 1,2,3` if grunt was run via `grunt log:foo`, or it would log `bar: hello world` if grunt was run via `grunt log:bar`. If grunt was run as `grunt log` however, it would log `foo: 1,2,3` then `bar: hello world` then `baz: false`.

```javascript
grunt.initConfig({
Expand Down

0 comments on commit b9cb658

Please sign in to comment.