common-cli: arguments parsing improvement