fix #36: enable file path back

This commit is contained in:
Dobrica Pavlinusic
2012-03-06 22:11:00 +01:00
parent 73ec285957
commit 0e48785e0e

View File

@@ -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