mirror of
https://github.com/corda/corda.git
synced 2025-02-10 04:41:35 +00:00
accept (but currently ignore) -client and -server options for command-line compatibility with java
This commit is contained in:
parent
c3824c6844
commit
801327752a
@ -179,6 +179,10 @@ main(int ac, const char** av)
|
|||||||
or strncmp(av[i], "-D", 2) == 0)
|
or strncmp(av[i], "-D", 2) == 0)
|
||||||
{
|
{
|
||||||
++ vmArgs.nOptions;
|
++ vmArgs.nOptions;
|
||||||
|
} else if (strcmp(av[i], "-client") == 0
|
||||||
|
or strcmp(av[i], "-server") == 0)
|
||||||
|
{
|
||||||
|
// ignore
|
||||||
} else {
|
} else {
|
||||||
if (jar == 0) {
|
if (jar == 0) {
|
||||||
class_ = av[i++];
|
class_ = av[i++];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user