src/jdk.jdeps/share/classes/com/sun/tools/javap/JavapTask.java
changeset 48543 7067fe4e054e
parent 47216 71c04702a3d5
child 55333 75f47593d244
child 58678 9cf78a70fa4f
equal deleted inserted replaced
48542:19effb7970bc 48543:7067fe4e054e
     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         },