you mean we should detect `--version` option and halt before processing any other options.

I guess strictly, this is correct choice (this is what mix does). I will modify it.