Skip to content

Commit

Permalink
Fix mistakes in README examples
Browse files Browse the repository at this point in the history
  • Loading branch information
svenschoenung committed Nov 28, 2016
1 parent 04237c8 commit d10cbc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ You can accept parameters in a task by wrapping the task function in `parameteri
```javascript
var parameterized = require('gulp-parameterized');

gulp.task('hello', parameterized(function(cb, params)) {
gulp.task('hello', parameterized(function(cb, params) {
console.log('hello ' + params.name + '!');
cb();
});
}));
```

You can then pass parameters to a task on the command line:

```
$ gulp hello --name world!
$ gulp hello --name world
[23:43:51] Using gulpfile ~/hello-example/gulpfile.js
[23:43:51] Starting 'hello'...
hello world!
Expand Down

0 comments on commit d10cbc7

Please sign in to comment.