Update README on new env var

This commit is contained in:
Luna 2020-04-10 00:20:46 -03:00
parent 9614b96c71
commit 043556e798
2 changed files with 11 additions and 4 deletions

View file

@ -182,7 +182,7 @@ pub fn main() !void {
// TODO print help
_ = try (args_it.next(allocator) orelse @panic("expected exe name"));
const scri_path = try (args_it.next(allocator) orelse @panic("expected scri path"));
const scri_path = try (args_it.next(allocator) orelse @panic("expected scri path or 'repl'"));
if (std.mem.eql(u8, scri_path, "repl")) {
return try doRepl(allocator, &args_it);