Fixed the wrong variable for --executable flag

This commit is contained in:
Hiroshi SHIBATA 2020-09-28 18:52:26 +09:00
parent f2c6a3513f
commit 87726143ef
No known key found for this signature in database
GPG Key ID: F9CF13417264FAC2

View File

@ -51,7 +51,7 @@ def main
logfilename = path logfilename = path
} }
parser.on('-e', '--executable [RUBYPATH]', 'Makes executable parser.') {|path| parser.on('-e', '--executable [RUBYPATH]', 'Makes executable parser.') {|path|
executable = true make_executable = true
rubypath = (path == 'ruby' ? nil : path) rubypath = (path == 'ruby' ? nil : path)
} }
parser.on('-E', '--embedded', "Embeds Racc runtime in output.") { parser.on('-E', '--embedded', "Embeds Racc runtime in output.") {