display version info on startup
This commit is contained in:
parent
96393ea5eb
commit
63d69b6d43
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue