From 17a098b9e6678b39a43f8dddafab5603dca001c5 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 d6bf099b8ef2b9..002304474670cf 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -632,7 +632,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`