mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
[CLI] Change color of option example string
This commit is contained in:
parent
3b10a808d3
commit
d1fed47f92
@ -136,7 +136,7 @@ namespace AssetStudioCLI.Options
|
||||
return;
|
||||
}
|
||||
|
||||
var optionDesc = desc + example.Color(ColorConsole.BrightBlack);
|
||||
var optionDesc = desc + example.Color(ColorConsole.BrightCyan);
|
||||
var optionDict = new Dictionary<string, string> { { name, optionDesc } };
|
||||
if (optionGroups.TryGetValue(helpGroup, out Dictionary<string, string> groupDict))
|
||||
{
|
||||
@ -1111,7 +1111,7 @@ namespace AssetStudioCLI.Options
|
||||
private static void ShowOptionDescription<T>(Option<T> option, bool isFlag = false)
|
||||
{
|
||||
var arg = isFlag ? "Flag" : "Option";
|
||||
var optionDesc = option.Description + option.Example.Color(ColorConsole.BrightBlack);
|
||||
var optionDesc = option.Description + option.Example.Color(ColorConsole.BrightCyan);
|
||||
Console.WriteLine($"{arg} description:\n{optionDesc}");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user