File mytop_option-and-doc.patch of Package mytop
Index: mytop-1.6/mytop
===================================================================
--- mytop-1.6.orig/mytop
+++ mytop-1.6/mytop
@@ -153,9 +153,9 @@ GetOptions(
"idle|i" => \$config{idle},
"resolve|r" => \$config{resolve},
"prompt!" => \$config{prompt},
- "long|!" => \$config{long_nums},
+ "long|l!" => \$config{long_nums},
"mode|m=s" => \$config{mode},
- "sort=s" => \$config{sort},
+ "sort=s" => \$config{sort}
);
## User may have put the port with the host.
@@ -1769,6 +1769,33 @@ with hostnames but toggling this option.
Default: noresolve
+=item B<-l> or B<-long> or B<-nolong>
+
+Show numbers in full length instead of compress them like 1,000 -> 1.0k
+
+Default: nolong
+
+=item B<-m> or B<-mode> mode
+
+Choose display mode. Can be one of
+
+B<top> top-style display mode
+
+B<qps> (Queries Per Second) will write out one integer per second. The
+ number written reflects the number of queries executed by the server
+ in the previous one second interval.
+
+B<cmd> show statistics about the commands that are currently being
+ executed.
+
+B<innodb> InnoDB Status mode. The output of "SHOW INNODB STATUS" will
+ be displayed every cycle. In a future version, this may actually
+ summarize that data rather than producing raw output.
+
+B<status> Show status variables
+
+Default: top
+
=back
Command-line arguments will always take precedence over config file