diff --git a/README.md b/README.md
index 525dd81..51798f9 100644
--- a/README.md
+++ b/README.md
@@ -30,6 +30,7 @@ Note that if Quoter has been installed via a snap, `quoter -c` is all that is ne
|-s | Save the securities provided into the preferences system to be executed each time Quoter is run. If a `-d` Detailed or `-t` Trend is requested, the saved securities will be included. If a symbol is added on the command line it will be shown along with those that are saved. If `-s` is provided and there are already saved securities, the current list will overwrite the old list |
|-r | Remove saved securities. If you'd like them back you'll need to re-save them |
|-i | Ignore saved queries for this execution. They will remain saved |
+|-z | Disable colorized output|
#### Security Information
|Option|Description|
diff --git a/pom.xml b/pom.xml
index ba38f8e..776a27e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.fross
quoter
- 2.2.0
+ 2.3.0
jar
quoter
@@ -176,7 +176,7 @@
org.fusesource.jansi
jansi
- 2.0.1
+ 2.1.1
@@ -190,7 +190,7 @@
org.fross
library
- 2.0.3
+ 2020.12.21
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index ddf6ce8..019fe92 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -1,5 +1,5 @@
name: quoter
-version: '2.2.0'
+version: '2.3.0'
summary: Command line utility to pull stock and index quotes
description: |
Quote fetches stock quotes and index data from IEXCloud.IO.
@@ -20,7 +20,7 @@ parts:
plugin: maven
source: https://github.com/frossm/library.git
source-type: git
- source-tag: 'v2.0.3'
+ source-tag: 'v2020.12.21'
maven-options: [install]
quoter:
diff --git a/src/main/java/org/fross/quoter/Help.java b/src/main/java/org/fross/quoter/Help.java
index bb4f786..bacdccc 100644
--- a/src/main/java/org/fross/quoter/Help.java
+++ b/src/main/java/org/fross/quoter/Help.java
@@ -59,7 +59,8 @@ public static void Display() {
Output.printColorln(Ansi.Color.WHITE, " -s Save securities as default and show them automatically");
Output.printColorln(Ansi.Color.WHITE, " -r Remove saved securities");
Output.printColorln(Ansi.Color.WHITE, " -i Ignore saved queries for this execution only");
-
+ Output.printColorln(Ansi.Color.WHITE, " -z Disable colorized output");
+
Output.printColorln(Ansi.Color.YELLOW, "\nSecurity Information:");
Output.printColorln(Ansi.Color.WHITE, " -d Display more detailed security information");
Output.printColorln(Ansi.Color.WHITE, " -t Include a 3 month historical trend");
diff --git a/src/main/java/org/fross/quoter/Main.java b/src/main/java/org/fross/quoter/Main.java
index eaa4bda..f4ad55e 100644
--- a/src/main/java/org/fross/quoter/Main.java
+++ b/src/main/java/org/fross/quoter/Main.java
@@ -80,7 +80,7 @@ public static void main(String[] args) {
}
// Process Command Line Options
- Getopt optG = new Getopt("quote", args, "ckdtx:sriDvh?");
+ Getopt optG = new Getopt("quote", args, "ckdtx:sriDvzh?");
while ((optionEntry = optG.getopt()) != -1) {
switch (optionEntry) {
// Turn on Debug Mode
@@ -141,6 +141,11 @@ public static void main(String[] args) {
Output.println(COPYRIGHT);
System.exit(0);
break;
+
+ // Disable colorized output
+ case 'z':
+ Output.setColor(false);
+ break;
// Access in program help
case '?':