tryParse

Attempts to parse a command-line argument and update the parameter value if successful.

Return

true if the argument was successfully parsed and the value updated, false otherwise

Parameters

arg

The command-line argument to parse