using unix convention for cmd args

This commit is contained in:
minjaesong
2023-05-10 09:41:43 +09:00
parent beecc0b5eb
commit ba5c87530f
16 changed files with 34 additions and 34 deletions

View File

@@ -3,7 +3,7 @@ if (exec_args[1] == undefined) {
return 1
}
const interactive = exec_args[2] && exec_args[2].toLowerCase() == "/i"
const interactive = exec_args[2] && exec_args[2].toLowerCase() == "-i"
let infile = files.open(_G.shell.resolvePathInput(exec_args[1]).full)
// read input file