aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/equalparts/cardbase/cli
diff options
context:
space:
mode:
authorEduardo Pedroni <ep625@york.ac.uk>2015-07-12 21:00:53 +0200
committerEduardo Pedroni <ep625@york.ac.uk>2015-07-12 21:00:53 +0200
commit7d3f8acf5260bf0d5458d258111e05a05859e535 (patch)
tree5e4f4591db0fbeec0fc55352bc416d60b55f9176 /src/eu/equalparts/cardbase/cli
parentdab875c97790cc482b9a74ad0339b71ff0aab509 (diff)
Started fiddling with decks
Diffstat (limited to 'src/eu/equalparts/cardbase/cli')
-rw-r--r--src/eu/equalparts/cardbase/cli/CardbaseCLI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java
index 866314a..d67a198 100644
--- a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java
+++ b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java
@@ -220,7 +220,7 @@ public class CardbaseCLI {
} else {
// handle these exceptions locally - they don't necessarily mean the program should exit
try {
- cardbase.writeCardbase(outputFile);
+ cardbase.writeCollection(outputFile);
// we are now working off outputFile, which may or may not be the same as cardbaseFile at this point
cardbaseFile = outputFile;
System.out.println("Cardbase was saved to \"" + outputFile.getAbsolutePath() + "\". "