fix: minor corrections on command descriptions

This commit is contained in:
D. Moonfire 2023-07-08 21:51:33 -05:00
parent 3b000cc438
commit a2619d4ed0
6 changed files with 6 additions and 6 deletions

View file

@ -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,

View file

@ -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>())));
}

View file

@ -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");

View file

@ -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>();

View file

@ -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;

View file

@ -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();