I think you may have misunderstood the signature of main in C. argc is the number of arguments — the equivalent of args.length in Java/Scala. The combination of int argc and char **argv is effectively the same as the JVM’s Array[String], since on the JVM an array knows its own size.
But for simple use cases (little scripts and such) I would normally just follow Russ’s suggestion. I’ll add that Scala 2.13’s toIntOption is useful if you aren’t sure if a string is parseable to an integer or not.