summary refs log tree commit diff stats
path: root/compiler/nim.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2019-07-10 12:42:23 +0200
committerAraq <rumpf_a@web.de>2019-07-10 12:42:41 +0200
commitc94647aecad6ed7fd12152800437a6cda11e06e6 (patch)
treef876ae0ac6379dfd99fd5d5ed7d8903be96b433b /compiler/nim.nim
parent96523cdd3e8ada367b804efbd47f4763a1269fa8 (diff)
downloadNim-c94647aecad6ed7fd12152800437a6cda11e06e6.tar.gz
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
Diffstat (limited to 'compiler/nim.nim')
-rw-r--r--compiler/nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/nim.nim b/compiler/nim.nim
index 982d0c7e5..1f8a55897 100644
--- a/compiler/nim.nim
+++ b/compiler/nim.nim
@@ -47,7 +47,7 @@ proc processCmdLine(pass: TCmdLinePass, cmd: string; config: ConfigRef) =
     parseopt.next(p)
     case p.kind
     of cmdEnd: break
-    of cmdLongoption, cmdShortOption:
+    of cmdLongOption, cmdShortOption:
       if p.key == " ":
         p.key = "-"
         if processArgument(pass, p, argsCount, config): break