Add -ng suffix to CLI output
This commit is contained in:
parent
1dcb61b521
commit
5e4d45a9d4
4 changed files with 5 additions and 5 deletions
2
qjs.c
2
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"
|
||||
|
|
4
qjsc.c
4
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"
|
||||
);
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
2
repl.js
2
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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue