diff --git a/swift/main.swift b/swift/main.swift index fb95ee9c..74a29dfe 100644 --- a/swift/main.swift +++ b/swift/main.swift @@ -14,8 +14,8 @@ let items = [ let app = GildedRose(items: items); var days = 2; -if (Process.argc > 1) { - days = Int(Process.arguments[1])! + 1 +if (CommandLine.argc > 1) { + days = Int(CommandLine.arguments[1])! + 1 }