diff --git a/console.c b/console.c index 6ba021467..889732180 100644 --- a/console.c +++ b/console.c @@ -370,7 +370,7 @@ static bool do_source(int argc, char *argv[]) static bool do_log(int argc, char *argv[]) { if (argc < 2) { - report(1, "No log file given"); + report(1, "No log file given. Use 'log '."); return false; } @@ -378,6 +378,7 @@ static bool do_log(int argc, char *argv[]) if (!result) report(1, "Couldn't open log file '%s'", argv[1]); + printf("Logging enabled: %s\n", argv[1]); return result; }