< prev index next >

test/jdk/sun/tools/jstat/usage.out

Print this page
rev 48495 : 8189102: All tools should support -?, -h and --help
Reviewed-by: kvn, jjg, weijun, alanb, rfield, ksrini

@@ -1,6 +1,6 @@
-Usage: jstat -help|-options
+Usage: jstat --help|-options
        jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]
 
 Definitions:
   <option>      An option reported by the -options option
   <vmid>        Virtual Machine Identifier. A vmid takes the following form:

@@ -16,5 +16,7 @@
                     <n>["ms"|"s"]
                 Where <n> is an integer and the suffix specifies the units as 
                 milliseconds("ms") or seconds("s"). The default units are "ms".
   <count>       Number of samples to take before terminating.
   -J<flag>      Pass <flag> directly to the runtime system.
+  -? -h --help  Prints this help message.
+  -help         Prints this help message.
< prev index next >