From: Jan Rybar Date: Tue, 20 Dec 2016 13:27:59 +0000 (+0100) Subject: peekfd: usage help screen now contains long options list too X-Git-Tag: v23.0~17^2~2^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15eaa8ccc8da7a01444d9d060edafd4172a4d86f;p=psmisc peekfd: usage help screen now contains long options list too Resolves Red Hat Bugzilla #1401593 --- diff --git a/src/peekfd.c b/src/peekfd.c index cba2130..5f6258e 100644 --- a/src/peekfd.c +++ b/src/peekfd.c @@ -120,12 +120,12 @@ void print_version() void usage() { fprintf(stderr, _( "Usage: peekfd [-8] [-n] [-c] [-d] [-V] [-h] [ ..]\n" - " -8 output 8 bit clean streams.\n" - " -n don't display read/write from fd headers.\n" - " -c peek at any new child processes too.\n" - " -d remove duplicate read/writes from the output.\n" - " -V prints version info.\n" - " -h prints this help.\n" + " -8, --eight-bit-clean output 8 bit clean streams.\n" + " -n, --no-headers don't display read/write from fd headers.\n" + " -c, --follow peek at any new child processes too.\n" + " -d, --duplicates-removed remove duplicate read/writes from the output.\n" + " -V, --version prints version info.\n" + " -h, --help prints this help.\n" "\n" " Press CTRL-C to end output.\n")); }