fix: minor corrections on command descriptions
This commit is contained in:
parent
3b000cc438
commit
a2619d4ed0
|
@ -22,7 +22,7 @@ namespace MfGames.ToolBuilder.Services
|
|||
this.configName = configName;
|
||||
this.ConfigOption = new Option<string[]>(
|
||||
"--config",
|
||||
"Configuration file to use for settings, otherwise a default will be used.")
|
||||
"Configuration file to use for settings, otherwise a default will be used")
|
||||
{
|
||||
AllowMultipleArgumentsPerToken = false,
|
||||
Arity = ArgumentArity.OneOrMore,
|
||||
|
|
|
@ -23,7 +23,7 @@ public class LoggingToolGlobal
|
|||
"--log-level",
|
||||
() => nameof(LogEventLevel.Information),
|
||||
string.Format(
|
||||
"Controls the verbosity of the output: {0}. Not case-sensitive and prefixes allowed.",
|
||||
"Controls the verbosity of the output, not case-sensitive and prefixes allowed: {0}",
|
||||
string.Join(", ", Enum.GetNames<LogEventLevel>())));
|
||||
}
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace SampleTool
|
|||
|
||||
/// <inheritdoc />
|
||||
public CrashCommand()
|
||||
: base("crash", "Crash the application with an exception.")
|
||||
: base("crash", "Crash the application with an exception")
|
||||
{
|
||||
this.Handler = this;
|
||||
this.messyOption = new Option<bool>("--messy");
|
||||
|
|
|
@ -18,7 +18,7 @@ public class LogCommand : Command, ICommandHandler
|
|||
public LogCommand(
|
||||
ILoggerFactory loggerFactory,
|
||||
ILogger serilogLogger)
|
||||
: base("log", "Shows various logging messages.")
|
||||
: base("log", "Shows various logging messages using Serilog and Microsoft")
|
||||
{
|
||||
this.serilogLogger = serilogLogger;
|
||||
this.extensionLogger = loggerFactory.CreateLogger<LogCommand>();
|
||||
|
|
|
@ -18,7 +18,7 @@ public class SpectreCommand : Command, ICommandHandler
|
|||
/// <inheritdoc />
|
||||
public SpectreCommand(
|
||||
ILoggerFactory loggerFactory)
|
||||
: base("spectre", "Shows Spectre output.")
|
||||
: base("spectre", "Shows various SpectreConsole features")
|
||||
{
|
||||
this.logger = loggerFactory.CreateLogger<LogCommand>();
|
||||
this.Handler = this;
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace SampleTool
|
|||
|
||||
/// <inheritdoc />
|
||||
public TableCommand(TableToolService.Factory tableService)
|
||||
: base("table", "Display a table.")
|
||||
: base("table", "Display a Markdown table")
|
||||
{
|
||||
// Create the table structure.
|
||||
this.table = new DataTable();
|
||||
|
|
Loading…
Reference in a new issue