From 0e48785e0e3df7c042ef047801876584a3d6c72d Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 6 Mar 2012 22:11:00 +0100 Subject: [PATCH] fix #36: enable file path back --- reader.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reader.lua b/reader.lua index dba4617cd..e2d9db1e3 100755 --- a/reader.lua +++ b/reader.lua @@ -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