We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0155c71 + 357eb3d commit 9711c67Copy full SHA for 9711c67
console.c
@@ -370,14 +370,15 @@ static bool do_source(int argc, char *argv[])
370
static bool do_log(int argc, char *argv[])
371
{
372
if (argc < 2) {
373
- report(1, "No log file given");
+ report(1, "No log file given. Use 'log <file>'.");
374
return false;
375
}
376
377
bool result = set_logfile(argv[1]);
378
if (!result)
379
report(1, "Couldn't open log file '%s'", argv[1]);
380
381
+ printf("Logging enabled: %s\n", argv[1]);
382
return result;
383
384
0 commit comments