Changeset 1391 for branches/GNU/src/gcc/libjava/gij.cc
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/gij.cc
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 29 29 printf (" gij -jar [OPTION] ... JARFILE [ARGS] ...\n"); 30 30 printf (" to execute a jar file\n\n"); 31 printf (" --cp LIST set class path\n"); 32 printf (" --classpath LIST set class path\n"); 31 33 printf (" -DVAR=VAL define property VAR with value VAL\n"); 32 34 printf (" --help print this help, then exit\n"); 33 35 printf (" --ms=NUMBER set initial heap size\n"); 34 36 printf (" --mx=NUMBER set maximum heap size\n"); 37 printf (" --showversion print version number, then keep going\n"); 35 38 printf (" --version print version number, then exit\n"); 39 printf ("\nOptions can be specified with `-' or `--'.\n"); 36 40 printf ("\nSee http://gcc.gnu.org/java/ for information on reporting bugs\n"); 37 41 exit (0); … … 45 49 printf ("This is free software; see the source for copying conditions. There is NO\n"); 46 50 printf ("warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"); 47 exit (0);48 51 } 49 52 … … 91 94 help (); 92 95 else if (! strcmp (arg, "-version")) 96 { 97 version (); 98 exit (0); 99 } 100 else if (! strcmp (arg, "-showversion")) 93 101 version (); 94 102 /* FIXME: use getopt and avoid the ugliness here. … … 116 124 _Jv_SetMaximumHeapSize (argv[++i]); 117 125 } 126 else if (! strcmp (arg, "-cp") || ! strcmp (arg, "-classpath")) 127 { 128 if (i >= argc - 1) 129 goto no_arg; 130 // We set _Jv_Jar_Class_Path. If the user specified `-jar' 131 // then the jar code will override this. This is the 132 // correct behavior. 133 _Jv_Jar_Class_Path = argv[++i]; 134 } 118 135 else 119 136 { -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.