[PATCH v2] Fix -yy documentation

Fabien Siron fabien.siron at epita.fr
Thu May 26 15:29:41 UTC 2016


* strace.c (usage): Fix -yy documentation.
* strace.1: Likewise.
---
 strace.1 | 2 +-
 strace.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/strace.1 b/strace.1
index 429cdfc..b7dddc0 100644
--- a/strace.1
+++ b/strace.1
@@ -325,7 +325,7 @@ Print all strings in hexadecimal string format.
 Print paths associated with file descriptor arguments.
 .TP
 .B \-yy
-Print ip:port pairs associated with socket file descriptors.
+Print protocol specific information associated with socket file descriptors.
 .TP
 .BI "\-a " column
 Align return values in a specific column (default column 40).
diff --git a/strace.c b/strace.c
index 4ba88c4..72343aa 100644
--- a/strace.c
+++ b/strace.c
@@ -218,7 +218,7 @@ Output format:\n\
   -x             print non-ascii strings in hex\n\
   -xx            print all strings in hex\n\
   -y             print paths associated with file descriptor arguments\n\
-  -yy            print ip:port pairs associated with socket file descriptors\n\
+  -yy            print protocol specific information associated with socket file descriptors\n\
 \n\
 Statistics:\n\
   -c             count time, calls, and errors for each syscall and report summary\n\
-- 
2.8.0





More information about the Strace-devel mailing list