# HG changeset patch # User dsamersoff # Date 1454683776 -10800 # Node ID 31cdfa4bf8708f6bf1652363fd5bdab0739f212e # Parent 039e2b5f6fd858e2dcf1500a307a297ff3cac500 8149099: jcmd -help mention non-existent option Summary: Fix typo -p to -l Reviewed-by: dsamersoff, jbachorik Contributed-by: kubota.yuji@gmail.com diff -r 039e2b5f6fd8 -r 31cdfa4bf870 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 ");