fix Command builder example invocation

This commit is contained in:
Josh Holtrop 2015-01-21 14:07:28 -05:00
parent 76610a07a9
commit 897d31ebe0

View File

@ -249,10 +249,10 @@ you can use the `exclude_builders` key to the Environment constructor.
#### Command #### Command
```ruby ```ruby
env.Command(target, sources, 'CMD' => command) env.Command(target, sources, "CMD" => command)
# Example # Example
env.Command("docs.html", "docs.md", env.Command("docs.html", "docs.md",
CMD => ['pandoc', '-fmarkdown', '-thtml', '-o${_TARGET}', '${_SOURCES}']) "CMD" => ["pandoc", "-fmarkdown", "-thtml", "-o${_TARGET}", "${_SOURCES}"])
``` ```
The command builder executes a user-defined command in order to produce the The command builder executes a user-defined command in order to produce the