docs: "options" is a required parameter in dialog.showMessageBox

This commit is contained in:
Cheng Zhao 2015-03-25 19:20:32 +08:00
parent 62f9c3def0
commit b68eccf784

View file

@ -67,7 +67,7 @@ The `filters` specifies an array of file types that can be displayed, see
If a `callback` is passed, the API call would be asynchronous and the result
would be passed via `callback(filename)`
## dialog.showMessageBox([browserWindow], [options], [callback])
## dialog.showMessageBox([browserWindow], options, [callback])
* `browserWindow` BrowserWindow
* `options` Object