You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2010/10/15 22:26:38 UTC

svn commit: r1023099 - /commons/proper/daemon/trunk/src/native/unix/native/arguments.c

Author: mturk
Date: Fri Oct 15 20:26:38 2010
New Revision: 1023099

URL: http://svn.apache.org/viewvc?rev=1023099&view=rev
Log:
Add synonym for -home. Believe it or not, this is actually -java-home :)

Modified:
    commons/proper/daemon/trunk/src/native/unix/native/arguments.c

Modified: commons/proper/daemon/trunk/src/native/unix/native/arguments.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/unix/native/arguments.c?rev=1023099&r1=1023098&r2=1023099&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/unix/native/arguments.c (original)
+++ commons/proper/daemon/trunk/src/native/unix/native/arguments.c Fri Oct 15 20:26:38 2010
@@ -211,7 +211,8 @@ static arg_data *parse(int argc, char *a
                 return NULL;
             }
         }
-        else if (!strcmp(argv[x], "-home")) {
+        else if (!strcmp(argv[x], "-home") ||
+                 !strcmp(argv[x], "-java-home")) {
             args->home = optional(argc, argv, x++);
             if (args->home == NULL) {
                 log_error("Invalid Java Home specified");