[PATCH] Fix -yy documentation

Fabien Siron fabien.siron at epita.fr
Thu May 26 15:04:11 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..83c78ca 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 some socket information.
 .TP
 .BI "\-a " column
 Align return values in a specific column (default column 40).
diff --git a/strace.c b/strace.c
index 4ba88c4..d8bb2ff 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 some socket information\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