.h cmdName should now work correctly for all commands

This commit is contained in:
Kwoth
2022-01-02 17:16:15 +01:00
parent 4e60ea4241
commit df3e60b61f
2 changed files with 6 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ internal sealed class NadekoModuleAttribute : GroupAttribute
internal sealed class NadekoDescriptionAttribute : SummaryAttribute internal sealed class NadekoDescriptionAttribute : SummaryAttribute
{ {
public NadekoDescriptionAttribute([CallerMemberName] string name = "") public NadekoDescriptionAttribute([CallerMemberName] string name = "")
: base(name) : base(name.ToLowerInvariant())
{ {
} }
} }
@@ -24,7 +24,7 @@ internal sealed class NadekoDescriptionAttribute : SummaryAttribute
internal sealed class NadekoUsageAttribute : RemarksAttribute internal sealed class NadekoUsageAttribute : RemarksAttribute
{ {
public NadekoUsageAttribute([CallerMemberName] string name = "") public NadekoUsageAttribute([CallerMemberName] string name = "")
: base(name) : base(name.ToLowerInvariant())
{ {
} }
} }

View File

@@ -1212,12 +1212,16 @@ exprreact:
- exreact - exreact
- exr - exr
exprad: exprad:
- exprad
- exad - exad
exprat: exprat:
- exprat
- exat - exat
exprdm: exprdm:
- exprdm
- exdm - exdm
exprca: exprca:
- exprca
- exca - exca
exprsreload: exprsreload:
- expreload - expreload