* add option to show YaCy version, usage:

java -cp lib/yacycore.jar net.yacy.yacy -version

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7174 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
f1ori 15 years ago
parent ac73072924
commit b392ca5024

@ -985,6 +985,9 @@ public final class yacy {
// aut-update yacy // aut-update yacy
if (args.length == 2) applicationRoot= new File(args[1]); if (args.length == 2) applicationRoot= new File(args[1]);
update(applicationRoot); update(applicationRoot);
} else if ((args.length >= 1) && (args[0].toLowerCase().equals("-version"))) {
// show yacy version
System.out.println(copyright);
} else if ((args.length >= 1) && (args[0].toLowerCase().equals("-minimizeurldb"))) { } else if ((args.length >= 1) && (args[0].toLowerCase().equals("-minimizeurldb"))) {
// migrate words from DATA/PLASMADB/WORDS path to assortment cache, if possible // migrate words from DATA/PLASMADB/WORDS path to assortment cache, if possible
// attention: this may run long and should not be interrupted! // attention: this may run long and should not be interrupted!

Loading…
Cancel
Save