Gambas Documentation - /comp/gb.args/args/has

# Args.Has (gb.args)

Static Function Has ( ShortName As String, LongName As String [ , Description As String ] ) As Boolean

Define an option that takes no argument, and return if it has been specified.

- 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.