Document -D/--dump-flags in CLI output

This commit is contained in:
Saúl Ibarra Corretgé 2024-09-06 23:19:11 +02:00
parent 8e81a88a18
commit b5d2210096

1
qjs.c
View file

@ -306,6 +306,7 @@ void help(void)
" --std make 'std' and 'os' available to the loaded script\n" " --std make 'std' and 'os' available to the loaded script\n"
"-T --trace trace memory allocation\n" "-T --trace trace memory allocation\n"
"-d --dump dump the memory usage stats\n" "-d --dump dump the memory usage stats\n"
"-D --dump-flags flags for dumping debug data (see DUMP_* defines)\n"
" --memory-limit n limit the memory usage to 'n' Kbytes\n" " --memory-limit n limit the memory usage to 'n' Kbytes\n"
" --stack-size n limit the stack size to 'n' Kbytes\n" " --stack-size n limit the stack size to 'n' Kbytes\n"
" --unhandled-rejection dump unhandled promise rejections\n" " --unhandled-rejection dump unhandled promise rejections\n"