Merge remote-tracking branch 'hwhw/master'

This commit is contained in:
traycold
2012-03-06 22:14:12 +01:00
9 changed files with 99 additions and 21 deletions

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