parse_args: reduce parameters.

Signed-off-by: Josep Puigdemont <josep.puigdemont@enea.com>