Browse files

Fixed a bug where L and l options could not be used because of the in…

…troduction of long options.
  • Loading branch information...
1 parent 2cfb3fe commit 1c82b78ccd1c919cf8fb21d18af5c18dd3e82f53 @shamanas committed Dec 18, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/rock/frontend/CommandLine.ooc
View
4 source/rock/frontend/CommandLine.ooc
@@ -211,11 +211,11 @@ CommandLine: class {
} else if (option startsWith?("L")) {
- params libPath add(arg substring(2))
+ params libPath add(option substring(1))
} else if (option startsWith?("l")) {
- params dynamicLibs add(arg substring(2))
+ params dynamicLibs add(option substring(1))
} else if (option == "nolang") { // FIXME debug option.

0 comments on commit 1c82b78

Please sign in to comment.