StrictOptionParsing Property

Definition

Assembly XenoAtom.CommandLine.dll

Gets a boolean indicating whether unknown option-like tokens (e.g. --unknown, -x, /unknown) should immediately fail parsing instead of being treated as positional arguments.

public bool StrictOptionParsing { get; init; }

Returns

Remarks

If you need to pass an argument that starts with - or /, use -- to stop option parsing (e.g. mytool -- -5).