diff --git a/qjs.c b/qjs.c index 90a2eb2..5c52368 100644 --- a/qjs.c +++ b/qjs.c @@ -269,7 +269,7 @@ static const JSMallocFunctions trace_mf = { void help(void) { - printf("QuickJS version %s\n" + printf("QuickJS-ng version %s\n" "usage: " PROG_NAME " [options] [file [args]]\n" "-h --help list options\n" "-e --eval EXPR evaluate EXPR\n" diff --git a/qjsc.c b/qjsc.c index 1662841..65f3448 100644 --- a/qjsc.c +++ b/qjsc.c @@ -312,7 +312,7 @@ static const char main_c_template2[] = void help(void) { - printf("QuickJS Compiler version %s\n" + printf("QuickJS-ng Compiler version %s\n" "usage: " PROG_NAME " [options] [files]\n" "\n" "options are:\n" @@ -437,7 +437,7 @@ int main(int argc, char **argv) /* loader for ES6 modules */ JS_SetModuleLoaderFunc(rt, NULL, jsc_module_loader, NULL); - fprintf(fo, "/* File generated automatically by the QuickJS compiler. */\n" + fprintf(fo, "/* File generated automatically by the QuickJS-ng compiler. */\n" "\n" ); diff --git a/quickjs.c b/quickjs.c index c65363f..fb4a340 100644 --- a/quickjs.c +++ b/quickjs.c @@ -5936,7 +5936,7 @@ void JS_ComputeMemoryUsage(JSRuntime *rt, JSMemoryUsage *s) void JS_DumpMemoryUsage(FILE *fp, const JSMemoryUsage *s, JSRuntime *rt) { - fprintf(fp, "QuickJS memory usage -- %s version, %d-bit, malloc limit: %"PRId64"\n\n", + fprintf(fp, "QuickJS-ng memory usage -- %s version, %d-bit, malloc limit: %"PRId64"\n\n", JS_GetVersion(), (int)sizeof(void *) * 8, (int64_t)(ssize_t)s->malloc_limit); #if 1 if (rt) { diff --git a/repl.js b/repl.js index 2fc8545..cc83489 100644 --- a/repl.js +++ b/repl.js @@ -1075,7 +1075,7 @@ import * as os from "os"; } function cmd_start() { - std.puts('QuickJS - Type "\\h" for help\n'); + std.puts('QuickJS-ng - Type "\\h" for help\n'); cmd_readline_start(); }