ParentCommandFailureExitCode Property

Gets the exit code to return from the Run or RunAsync method if parsing command line arguments for a nested subcommand failed.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected virtual int FailureExitCode { get; }

Property Value

Int32
The exit code to use for parsing failure. The base class implementation returns 1.

See Also