display version info on startup

This commit is contained in:
hns 2001-11-20 15:10:33 +00:00
parent 96393ea5eb
commit 63d69b6d43

View file

@ -24,6 +24,7 @@ import com.sleepycat.db.*;
public class Server { public class Server {
public static final String version = "1.2 pre 2001/11/20";
public static boolean useTransactions = true; public static boolean useTransactions = true;
public static boolean paranoid; public static boolean paranoid;
@ -95,6 +96,8 @@ import com.sleepycat.db.*;
usageError = true; usageError = true;
} }
System.out.println ("Helma "+version);
if (usageError ) { if (usageError ) {
System.out.println ("usage: java helma.objectmodel.db.Server [-h dir] [-f file] [-p port] [-w port] [-t]"); System.out.println ("usage: java helma.objectmodel.db.Server [-h dir] [-f file] [-p port] [-w port] [-t]");
System.out.println (" -h dir Specify hop home directory"); System.out.println (" -h dir Specify hop home directory");