Args.Get (gb.args)
Static Function Get ( ShortName As String, LongName As String [ , Description As String, ArgName As String, Default As String ] ) As String
Define an option that takes one string argument, and return it.
-
ShortName is the short name of the option without the dash. (i.e.
"o" for -o).
-
LongName is the full name of the option without the two dashes (i.e.
"option" for --option).
-
Description is an optional text that describes the option. This will be used if the
--help option is requested.
-
ArgName is the name of the option argument used by the
--help option.
Args.Get() now takes a 5th optional argument "
Default" that will return the given Default string if the argument is not found.