Substitute a special token 'DEFAULT' with the default parameter value.
Remove unused code.
Return -1 on errors and show usage information only when requested.