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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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