Grab and redirect standard streams, fixes #100

This commit is contained in:
Guillaume Nodet
2020-10-19 11:27:07 +02:00
parent 9834f77a41
commit d773bd378a
3 changed files with 77 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ public class DefaultClient implements Client {
if (i < argv.length) {
logFile = Paths.get(argv[i++]);
} else {
throw new IllegalArgumentException("-l and --log-file need to befollowed by a path");
throw new IllegalArgumentException("-l and --log-file need to be followed by a path");
}
} else {
args.add(arg);