Skip to content

Commit

Permalink
Small tweak to error msg if autorefresh and export is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
frossm committed Sep 13, 2023
1 parent 61427ef commit 884a78d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/fross/quoter/CommandLineParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ public void validate(String name, String value) throws ParameterException {
// Validate the trending duration value provided is between 1 and 99
final static public class TrendDurationValidator implements IParameterValidator {
public TrendDurationValidator() {

}

@Override
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/fross/quoter/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public static void main(String[] args) {
// Ensure export is not turned on as it will fail after the first iteration
// TODO: Maybe split index info and symbol info and keep updating each file? Fix this.
if (!cli.clExport.isEmpty()) {
Output.printColor(Ansi.Color.RED, "\nExport not compatable for for refreshed values. Disabling...\n");
Output.printColor(Ansi.Color.RED, "\nExport not compatable for for refreshed values. Disabling Export...\n");
cli.clExport = "";
}

Expand Down

0 comments on commit 884a78d

Please sign in to comment.