diff options
author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-12 14:28:50 +0000 |
---|---|---|
committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-04-12 14:28:50 +0000 |
commit | 7a80ddca002da1f499be515482f673679363f39d (patch) | |
tree | c805c665a66c87dca37b7dfcf03d737017b9baf0 /gcc/java/jcf-dump.c | |
parent | 8d842e3797679e13a27f8358acca4b5fa4e92428 (diff) | |
download | ppe42-gcc-7a80ddca002da1f499be515482f673679363f39d.tar.gz ppe42-gcc-7a80ddca002da1f499be515482f673679363f39d.zip |
Add --extdirs support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52227 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-dump.c')
-rw-r--r-- | gcc/java/jcf-dump.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/gcc/java/jcf-dump.c b/gcc/java/jcf-dump.c index cf063ac747d..8c4052db662 100644 --- a/gcc/java/jcf-dump.c +++ b/gcc/java/jcf-dump.c @@ -776,14 +776,16 @@ DEFUN(process_class, (jcf), #define OPT_classpath LONG_OPT (0) #define OPT_CLASSPATH OPT_classpath #define OPT_bootclasspath LONG_OPT (1) -#define OPT_HELP LONG_OPT (2) -#define OPT_VERSION LONG_OPT (3) -#define OPT_JAVAP LONG_OPT (4) +#define OPT_extdirs LONG_OPT (2) +#define OPT_HELP LONG_OPT (3) +#define OPT_VERSION LONG_OPT (4) +#define OPT_JAVAP LONG_OPT (5) static const struct option options[] = { { "classpath", required_argument, NULL, OPT_classpath }, { "bootclasspath", required_argument, NULL, OPT_bootclasspath }, + { "extdirs", required_argument, NULL, OPT_extdirs }, { "CLASSPATH", required_argument, NULL, OPT_CLASSPATH }, { "help", no_argument, NULL, OPT_HELP }, { "verbose", no_argument, NULL, 'v' }, @@ -811,6 +813,7 @@ help () printf (" --classpath PATH Set path to find .class files\n"); printf (" -IDIR Append directory to class path\n"); printf (" --bootclasspath PATH Override built-in class path\n"); + printf (" --extdirs PATH Set extensions directory path\n"); printf (" -o FILE Set output file name\n"); printf ("\n"); printf (" --help Print this help, then exit\n"); @@ -881,6 +884,10 @@ DEFUN(main, (argc, argv), jcf_path_bootclasspath_arg (optarg); break; + case OPT_extdirs: + jcf_path_extdirs_arg (optarg); + break; + case OPT_HELP: help (); break; |