Add an option to print the colour table for the current scheme

This commit is contained in:
Lachlan Picking 2017-08-12 22:48:42 +10:00
parent 1be2939f25
commit b0d43f8067
2 changed files with 6 additions and 2 deletions

View file

@ -221,6 +221,10 @@ namespace ColorTool
{
switch (arg)
{
case "-c":
case "--current":
PrintTable();
return;
case "-q":
case "--quiet":
quiteMode = true;

View file

@ -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
</value>
-v, --version : Display the version number</value>
</data>
<data name="WroteToDefaults" xml:space="preserve">
<value>Wrote selected scheme to the defaults.</value>