From 832458a476e6f40049634b95761ad034b52bd063 Mon Sep 17 00:00:00 2001 From: Tapani Moilanen Date: Tue, 27 Sep 2016 12:21:55 +0300 Subject: [PATCH] docs(readme): add silent option example to code usage section --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db71e7613..9edfeb769 100644 --- a/README.md +++ b/README.md @@ -122,13 +122,17 @@ standard-version --help ## Code usage +Use the `silent` option to stop `standard-version` from printing anything +to the console. + ```js var standardVersion = require('standard-version') // Options are the same as command line, except camelCase standardVersion({ noVerify: true, - infile: 'docs/CHANGELOG.md' + infile: 'docs/CHANGELOG.md', + silent: true }, function (err) { if (err) { console.error(`standard-version failed with message: ${err.message}`)