fix #36: enable file path back

pull/2/merge
Dobrica Pavlinusic 12 years ago
parent 73ec285957
commit 0e48785e0e

@ -136,6 +136,8 @@ if ARGV[optind] and lfs.attributes(ARGV[optind], "mode") == "directory" then
running = false
end
end
elseif ARGV[optind] and lfs.attributes(ARGV[optind], "mode") == "file" then
openFile(ARGV[optind], optarg["p"])
elseif patharg and lfs.attributes(patharg, "mode") == "file" then
openFile(patharg, optarg["p"])
else

Loading…
Cancel
Save