Skip to content
This repository
Browse code

Merge pull request #360 from shamanas/patch-3

Fixed a bug where L and l options could not be used because of the introduction of long options.
  • Loading branch information...
commit 7cd18a0930302589a368b83fb56012e619b070b4 2 parents 2cfb3fe + 1c82b78
Friedrich Weber fredreichbier authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 source/rock/frontend/CommandLine.ooc
4 source/rock/frontend/CommandLine.ooc
@@ -211,11 +211,11 @@ CommandLine: class {
211 211
212 212 } else if (option startsWith?("L")) {
213 213
214   - params libPath add(arg substring(2))
  214 + params libPath add(option substring(1))
215 215
216 216 } else if (option startsWith?("l")) {
217 217
218   - params dynamicLibs add(arg substring(2))
  218 + params dynamicLibs add(option substring(1))
219 219
220 220 } else if (option == "nolang") { // FIXME debug option.
221 221

0 comments on commit 7cd18a0

Please sign in to comment.
Something went wrong with that request. Please try again.