From 4c0a20b48c301842a55b8e92b93b2622546f8deb Mon Sep 17 00:00:00 2001 From: legendecas Date: Fri, 12 Aug 2022 01:40:55 +0800 Subject: [PATCH] src: fix --heapsnapshot-near-heap-limit error hint --- 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 0ecf3bb918bb43..0869cbb974be86 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) {