Fix mistake made in !77

Check command line parameter count instead of option count, and do it after evaluating option arguments

Fixes mistake in !77 (merged).

Merge request reports

Loading