From ce5de6e74303191b839a8f696a902edf5f9bc348 Mon Sep 17 00:00:00 2001 From: Chengzhong Wu Date: Sun, 14 Aug 2022 10:17:28 +0800 Subject: [PATCH] src: fix --heapsnapshot-near-heap-limit error hint PR-URL: https://github.com/nodejs/node/pull/44216 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Colin Ihrig Reviewed-By: Darshan Sen --- src/node_options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_options.cc b/src/node_options.cc index 4527cf6423e6c8..43208c85d5f45c 100644 --- a/src/node_options.cc +++ b/src/node_options.cc @@ -140,7 +140,7 @@ void EnvironmentOptions::CheckOptions(std::vector* errors) { } if (heap_snapshot_near_heap_limit < 0) { - errors->push_back("--heap-snapshot-near-heap-limit must not be negative"); + errors->push_back("--heapsnapshot-near-heap-limit must not be negative"); } if (test_runner) {