From: JingPiao Chen Date: Fri, 6 Jan 2017 07:16:27 +0000 (+0800) Subject: strace: move description of -k option to the appropriate place X-Git-Tag: v4.16~53 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=373220061ac426ae03532ff274b5ff4270f9e9cb;p=strace strace: move description of -k option to the appropriate place Follow the example of strace.1 and put the description of -k option into the output format group. * strace.c (usage): Move description of -k option to the output format group. --- diff --git a/strace.c b/strace.c index 653009b5..da6b165e 100644 --- a/strace.c +++ b/strace.c @@ -209,6 +209,13 @@ usage: strace [-CdffhiqrtttTvVwxxy] [-I n] [-e expr]...\n\ Output format:\n\ -a column alignment COLUMN for printing syscall results (default %d)\n\ -i print instruction pointer at time of syscall\n\ +" +#ifdef USE_LIBUNWIND +"\ + -k obtain stack trace between each syscall (experimental)\n\ +" +#endif +"\ -o file send trace output to FILE instead of stderr\n\ -q suppress messages about attaching, detaching, etc.\n\ -r print relative timestamp\n\ @@ -257,10 +264,6 @@ Miscellaneous:\n\ -h print help message\n\ -V print version\n\ " -#ifdef USE_LIBUNWIND -" -k obtain stack trace between each syscall (experimental)\n\ -" -#endif /* ancient, no one should use it -F -- attempt to follow vforks (deprecated, use -f)\n\ */