|
|
58b5e3 |
diff -up ./doc/peekfd.1.ori ./doc/peekfd.1
|
|
|
58b5e3 |
--- ./doc/peekfd.1.ori 2017-03-29 10:50:34.386811561 +0200
|
|
|
58b5e3 |
+++ ./doc/peekfd.1 2017-03-29 10:50:49.850755241 +0200
|
|
|
58b5e3 |
@@ -13,7 +13,7 @@ peekfd \- peek at file descriptors of ru
|
|
|
58b5e3 |
.B peekfd
|
|
|
58b5e3 |
.RB [ \-8 , \-\-eight\-bit\-clean ]
|
|
|
58b5e3 |
.RB [ \-n , \-\-no\-headers ]
|
|
|
58b5e3 |
-.RB [ \-f , \-\-follow ]
|
|
|
58b5e3 |
+.RB [ \-c , \-\-follow ]
|
|
|
58b5e3 |
.RB [ \-d , \-\-duplicates\-removed ]
|
|
|
58b5e3 |
.RB [ \-V , \-\-version ]
|
|
|
58b5e3 |
.RB [ \-h , \-\-help ]
|
|
|
58b5e3 |
diff -up ./src/peekfd.c.ori ./src/peekfd.c
|
|
|
58b5e3 |
--- ./src/peekfd.c.ori 2017-03-29 10:50:23.450851390 +0200
|
|
|
58b5e3 |
+++ ./src/peekfd.c 2017-03-29 10:50:49.850755241 +0200
|
|
|
58b5e3 |
@@ -114,12 +114,12 @@ void print_version()
|
|
|
58b5e3 |
void usage() {
|
|
|
58b5e3 |
fprintf(stderr, _(
|
|
|
58b5e3 |
"Usage: peekfd [-8] [-n] [-c] [-d] [-V] [-h] <pid> [<fd> ..]\n"
|
|
|
58b5e3 |
- " -8 output 8 bit clean streams.\n"
|
|
|
58b5e3 |
- " -n don't display read/write from fd headers.\n"
|
|
|
58b5e3 |
- " -c peek at any new child processes too.\n"
|
|
|
58b5e3 |
- " -d remove duplicate read/writes from the output.\n"
|
|
|
58b5e3 |
- " -V prints version info.\n"
|
|
|
58b5e3 |
- " -h prints this help.\n"
|
|
|
58b5e3 |
+ " -8, --eight-bit-clean output 8 bit clean streams.\n"
|
|
|
58b5e3 |
+ " -n, --no-headers don't display read/write from fd headers.\n"
|
|
|
58b5e3 |
+ " -c, --follow peek at any new child processes too.\n"
|
|
|
58b5e3 |
+ " -d, --duplicates-removed remove duplicate read/writes from the output.\n"
|
|
|
58b5e3 |
+ " -V, --version prints version info.\n"
|
|
|
58b5e3 |
+ " -h, --help prints this help.\n"
|
|
|
58b5e3 |
"\n"
|
|
|
58b5e3 |
" Press CTRL-C to end output.\n"));
|
|
|
58b5e3 |
}
|