8149099: jcmd -help mention non-existent option
authordsamersoff
Fri, 05 Feb 2016 17:49:36 +0300
changeset 35967 31cdfa4bf870
parent 35963 039e2b5f6fd8
child 35968 011ac28122d8
8149099: jcmd -help mention non-existent option Summary: Fix typo -p to -l Reviewed-by: dsamersoff, jbachorik Contributed-by: kubota.yuji@gmail.com
jdk/src/jdk.jcmd/share/classes/sun/tools/jcmd/Arguments.java
--- a/jdk/src/jdk.jcmd/share/classes/sun/tools/jcmd/Arguments.java	Thu Feb 04 23:30:48 2016 +0100
+++ b/jdk/src/jdk.jcmd/share/classes/sun/tools/jcmd/Arguments.java	Fri Feb 05 17:49:36 2016 +0300
@@ -119,7 +119,7 @@
         System.out.println("  If the pid is 0, commands will be sent to all Java processes.   ");
         System.out.println("  The main class argument will be used to match (either partially ");
         System.out.println("  or fully) the class used to start Java.                         ");
-        System.out.println("  If no options are given, lists Java processes (same as -p).     ");
+        System.out.println("  If no options are given, lists Java processes (same as -l).     ");
         System.out.println("                                                                  ");
         System.out.println("  PerfCounter.print display the counters exposed by this process  ");
         System.out.println("  -f  read and execute commands from the file                     ");