ParentCommandOnChildCommandNotFound Method

Method called when no nested subcommand name was specified, or the nested subcommand could not be found.

Definition

Namespace: Ookii.CommandLine.Commands
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
protected virtual void OnChildCommandNotFound(
	string? commandName,
	CommandManager manager
)

Parameters

commandName  String
The name of the nested subcommand, or if none was specified.
manager  CommandManager
The CommandManager used to create the subcommand.

Remarks

The base class implementation writes usage help with a list of all nested subcommands.

See Also