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.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
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