Skip to content

Commit 5e4d45a

Browse files
committed
Add -ng suffix to CLI output
1 parent 1dcb61b commit 5e4d45a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

qjs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ static const JSMallocFunctions trace_mf = {
269269

270270
void help(void)
271271
{
272-
printf("QuickJS version %s\n"
272+
printf("QuickJS-ng version %s\n"
273273
"usage: " PROG_NAME " [options] [file [args]]\n"
274274
"-h --help list options\n"
275275
"-e --eval EXPR evaluate EXPR\n"

qjsc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static const char main_c_template2[] =
312312

313313
void help(void)
314314
{
315-
printf("QuickJS Compiler version %s\n"
315+
printf("QuickJS-ng Compiler version %s\n"
316316
"usage: " PROG_NAME " [options] [files]\n"
317317
"\n"
318318
"options are:\n"
@@ -437,7 +437,7 @@ int main(int argc, char **argv)
437437
/* loader for ES6 modules */
438438
JS_SetModuleLoaderFunc(rt, NULL, jsc_module_loader, NULL);
439439

440-
fprintf(fo, "/* File generated automatically by the QuickJS compiler. */\n"
440+
fprintf(fo, "/* File generated automatically by the QuickJS-ng compiler. */\n"
441441
"\n"
442442
);
443443

quickjs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5936,7 +5936,7 @@ void JS_ComputeMemoryUsage(JSRuntime *rt, JSMemoryUsage *s)
59365936

59375937
void JS_DumpMemoryUsage(FILE *fp, const JSMemoryUsage *s, JSRuntime *rt)
59385938
{
5939-
fprintf(fp, "QuickJS memory usage -- %s version, %d-bit, malloc limit: %"PRId64"\n\n",
5939+
fprintf(fp, "QuickJS-ng memory usage -- %s version, %d-bit, malloc limit: %"PRId64"\n\n",
59405940
JS_GetVersion(), (int)sizeof(void *) * 8, (int64_t)(ssize_t)s->malloc_limit);
59415941
#if 1
59425942
if (rt) {

repl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ import * as os from "os";
10751075
}
10761076

10771077
function cmd_start() {
1078-
std.puts('QuickJS - Type "\\h" for help\n');
1078+
std.puts('QuickJS-ng - Type "\\h" for help\n');
10791079
cmd_readline_start();
10801080
}
10811081

0 commit comments

Comments
 (0)