From 801327752af05cb3afb578f0431e0617b1332e82 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 18 Jul 2011 14:17:22 -0600 Subject: [PATCH] accept (but currently ignore) -client and -server options for command-line compatibility with java --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 084187353b..e6021dbda9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -179,6 +179,10 @@ main(int ac, const char** av) or strncmp(av[i], "-D", 2) == 0) { ++ vmArgs.nOptions; + } else if (strcmp(av[i], "-client") == 0 + or strcmp(av[i], "-server") == 0) + { + // ignore } else { if (jar == 0) { class_ = av[i++];