common-cli: arguments parsing improvement

ok