From d194d208288aba559ce4c73958ff0d7801cb989c Mon Sep 17 00:00:00 2001 From: AshCripps Date: Wed, 27 May 2020 16:05:17 +0100 Subject: [PATCH] cli: add alias for report-directory to make it consistent Currently every other cli option uses "dir" to reference a directory so add an alias to allow for conistency. PR-URL: https://github.com/nodejs/node/pull/33587 Reviewed-By: Sam Roberts Reviewed-By: James M Snell Reviewed-By: Ruben Bridgewater --- doc/api/cli.md | 4 ++-- doc/node.1 | 2 +- src/node_options.cc | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index 283d5b96df26f7..50ae4d5707a8cd 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -635,7 +635,7 @@ Write reports in a compact format, single-line JSON, more easily consumable by log processing systems than the default multi-line format designed for human consumption. -### `--report-directory=directory` +### --report-dir=directory`, `report-directory=directory`