]> sourceware.org Git - systemtap.git/commitdiff
stap.1: highlight %.*M formatting tip
authorFrank Ch. Eigler <fche@redhat.com>
Mon, 18 Jan 2016 14:29:16 +0000 (09:29 -0500)
committerFrank Ch. Eigler <fche@redhat.com>
Mon, 18 Jan 2016 14:29:16 +0000 (09:29 -0500)
It's common enough, and easy enough to get wrong.

man/stap.1

index c1fcc556206cc0c1401122c06536eaa362d45fda..440cbac7ad2010e48c6b7752841be3b673ea20a7 100644 (file)
@@ -1397,7 +1397,7 @@ Signed decimal.
 Safely reads kernel memory at the given address, outputs its content.  The optional precision specifier (not field width) determines the number of bytes to read - default is 1 byte.  %10.4m prints 4 bytes of the memory in a 10-character-wide field.
 .TP
 %M
-Same as %m, but outputs in hexadecimal.  The minimal size of output is double the optional precision specifier - default is 1 byte (2 hex chars).  %10.4M prints 4 bytes of the memory as 8 hexadecimal characters in a 10-character-wide field.
+Same as %m, but outputs in hexadecimal.  The minimal size of output is double the optional precision specifier - default is 1 byte (2 hex chars).  %10.4M prints 4 bytes of the memory as 8 hexadecimal characters in a 10-character-wide field.   %.*M hex-dumps a given number of bytes from a given buffer.
 .TP
 %o
 Unsigned octal.
This page took 0.032166 seconds and 5 git commands to generate.