tool_getparam: Added initial support for --next/-: