equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
121 final String[] aliases; |
121 final String[] aliases; |
122 } |
122 } |
123 |
123 |
124 static final Option[] recognizedOptions = { |
124 static final Option[] recognizedOptions = { |
125 |
125 |
126 new Option(false, "-help", "--help", "-?") { |
126 new Option(false, "-help", "--help", "-?", "-h") { |
127 @Override |
127 @Override |
128 void process(JavapTask task, String opt, String arg) { |
128 void process(JavapTask task, String opt, String arg) { |
129 task.options.help = true; |
129 task.options.help = true; |
130 } |
130 } |
131 }, |
131 }, |