From b0d43f8067c1484698defda5862c4d08ca95b6ea Mon Sep 17 00:00:00 2001 From: Lachlan Picking Date: Sat, 12 Aug 2017 22:48:42 +1000 Subject: [PATCH] Add an option to print the colour table for the current scheme --- tools/ColorTool/ColorTool/Program.cs | 4 ++++ tools/ColorTool/ColorTool/Resources.resx | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ColorTool/ColorTool/Program.cs b/tools/ColorTool/ColorTool/Program.cs index 1f56047f2..476e5866e 100644 --- a/tools/ColorTool/ColorTool/Program.cs +++ b/tools/ColorTool/ColorTool/Program.cs @@ -221,6 +221,10 @@ namespace ColorTool { switch (arg) { + case "-c": + case "--current": + PrintTable(); + return; case "-q": case "--quiet": quiteMode = true; diff --git a/tools/ColorTool/ColorTool/Resources.resx b/tools/ColorTool/ColorTool/Resources.resx index e999e0daa..7f369ffd6 100644 --- a/tools/ColorTool/ColorTool/Resources.resx +++ b/tools/ColorTool/ColorTool/Resources.resx @@ -147,11 +147,11 @@ Arguments: If that fails, it will look for it as an .ini file color scheme. Options: -?, --help : Display this help message + -c, --current : Print the color table for the currently applied scheme -q, --quiet : Don't print the color table after applying -d, --defaults : Apply the scheme to only the defaults in the registry -b, --both : Apply the scheme to both the current console and the defaults. - -v, --version : Display the version number - + -v, --version : Display the version number Wrote selected scheme to the defaults.