mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
tweaked help working for -t flag
This commit is contained in:
parent
f0e39a3491
commit
7371f3c188
@ -123,11 +123,11 @@ class Arguments {
|
||||
}
|
||||
|
||||
public static void usage() {
|
||||
System.out.println("Usage: jcmd <pid | main class> [-t] <command ...|PerfCounter.print|-f file>");
|
||||
System.out.println("Usage: jcmd <pid | main class> <[-t] command ...|PerfCounter.print|-f file>");
|
||||
System.out.println(" or: jcmd -l ");
|
||||
System.out.println(" or: jcmd <-h | --help> ");
|
||||
System.out.println(" ");
|
||||
System.out.println(" -t flag ensures the dignostic command begins with a timestamp ");
|
||||
System.out.println(" -t Show timestamp before running the command. ");
|
||||
System.out.println(" ");
|
||||
System.out.println(" command must be a valid jcmd command for the selected JVM. ");
|
||||
System.out.println(" Use the command \"help\" to see which commands are available. ");
|
||||
|
||||
@ -49,7 +49,7 @@ jcmd - send diagnostic command requests to a running Java Virtual Machine
|
||||
Java processes with the specified name of the main class.
|
||||
|
||||
`-t`
|
||||
: When used, the diagnostic commands output starts with a timestamp.
|
||||
: Show timestamp before running the command.
|
||||
|
||||
*command*
|
||||
: The `command` must be a valid `jcmd` command for the selected JVM. The list
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
Usage: jcmd <pid | main class> [-t] <command ...|PerfCounter.print|-f file>
|
||||
Usage: jcmd <pid | main class> <[-t] command ...|PerfCounter.print|-f file>
|
||||
or: jcmd -l
|
||||
or: jcmd <-h | --help>
|
||||
|
||||
-t flag ensures the dignostic command begins with a timestamp
|
||||
-t Show timestamp before running the command.
|
||||
|
||||
command must be a valid jcmd command for the selected JVM.
|
||||
Use the command "help" to see which commands are available.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user