Skip to content

Commit 4e1ffd9

Browse files
legendecasruyadorno
authored andcommitted
src: fix --heapsnapshot-near-heap-limit error hint
PR-URL: #44216 Reviewed-By: Richard Lau <rlau@redhat.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
1 parent 37a9d7a commit 4e1ffd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/node_options.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void EnvironmentOptions::CheckOptions(std::vector<std::string>* errors) {
140140
}
141141

142142
if (heap_snapshot_near_heap_limit < 0) {
143-
errors->push_back("--heap-snapshot-near-heap-limit must not be negative");
143+
errors->push_back("--heapsnapshot-near-heap-limit must not be negative");
144144
}
145145

146146
if (test_runner) {

0 commit comments

Comments
 (0)