Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions localization/strings/en-US/Resources.resw
Original file line number Diff line number Diff line change
Expand Up @@ -2195,6 +2195,21 @@ Usage:
<data name="WSLCCLI_HelpForDetails" xml:space="preserve">
<value>For more details on a specific command, pass it the help argument.</value>
</data>
<data name="WSLCCLI_HeadingCommands" xml:space="preserve">
<value>Commands:</value>
</data>
<data name="WSLCCLI_HeadingOptions" xml:space="preserve">
<value>Options:</value>
</data>
<data name="WSLCCLI_HeadingGlobalOptions" xml:space="preserve">
<value>Global Options:</value>
</data>
<data name="WSLCCLI_HeadingAliases" xml:space="preserve">
<value>Aliases:</value>
</data>
<data name="WSLCCLI_HeadingArguments" xml:space="preserve">
<value>Arguments:</value>
</data>
<data name="WSLCCLI_InvalidNameError" xml:space="preserve">
<value>Argument name was not recognized for the current command: '{}'</value>
<comment>{FixedPlaceholder="{}"}Command line arguments, file names and string inserts should not be translated</comment>
Expand Down
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/ContainerCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@ std::wstring ContainerCommand::LongDescription() const

void ContainerCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
4 changes: 2 additions & 2 deletions src/windows/wslc/commands/ImageCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ std::wstring ImageCommand::LongDescription() const

void ImageCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
} // namespace wsl::windows::wslc
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/NetworkCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ std::wstring NetworkCommand::LongDescription() const

void NetworkCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/RegistryCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ std::wstring RegistryCommand::LongDescription() const

void RegistryCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}

// Registry Login Command
Expand Down
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/RootCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,6 @@ void RootCommand::ExecuteInternal(CLIExecutionContext& context) const
return;
}

OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/SessionCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ std::wstring SessionCommand::LongDescription() const

void SessionCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/SystemCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ std::wstring SystemCommand::LongDescription() const

void SystemCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
2 changes: 1 addition & 1 deletion src/windows/wslc/commands/VolumeCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ std::wstring VolumeCommand::LongDescription() const

void VolumeCommand::ExecuteInternal(CLIExecutionContext& context) const
{
OutputHelp();
OutputHelp(context.Reporter);
}
} // namespace wsl::windows::wslc
Loading