diff options
author | Dmitry V. Levin <ldv@strace.io> | 2023-05-04 08:00:00 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-05-05 20:00:00 +0000 |
commit | 90b6023daef2518cff3599e6d7ef1f6adf0d65d2 (patch) | |
tree | dc7be8dc661565b8bb599ec68e4cb8a79b69c0a2 /doc | |
parent | 3928ac601a007a007fc19ea96b08b06ac532a59b (diff) | |
download | strace-90b6023daef2518cff3599e6d7ef1f6adf0d65d2.tar.gz |
Remove -l alias for the recently introduced --syscall-limit option
As strace already has a lot of short options which are hard to remember,
let's avoid introducing new short options for a while.
* NEWS: Mention this.
* doc/strace.1.in: Update --syscall-limit documentation.
* src/strace.c (print_version): Do not mention -l option.
(optstring): Remove 'l'.
(GETOPT_SYSCALL_LIMIT): New enum constant.
(longopts, init): Use it instead of 'l'.
* tests/gen_tests.in (strace--syscall-limit-status-c,
strace--syscall-limit-status-summary): Replace -l with --syscall-limit.
* tests/options-syntax.test: Update expected output.
* tests/strace--syscall-limit-path.c: Update comment.
* tests/strace--syscall-limit-status.c: Likewise.
* tests/strace--syscall-limit.c: Likewise.
* tests/strace--syscall-limit.test: Likewise.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/strace.1.in | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/strace.1.in b/doc/strace.1.in index a523639cf..986e97eee 100644 --- a/doc/strace.1.in +++ b/doc/strace.1.in @@ -44,7 +44,6 @@ strace \- trace system calls and signals .OP \-b execve .OM \-e expr .OP \-I n -.OP \-l limit .OP \-o file .OP \-O overhead .OM \-p pid @@ -54,6 +53,7 @@ strace \- trace system calls and signals .OP \-U columns .OP \-X format .OP \-\-seccomp\-bpf +.OP \-\-syscall\-limit limit .if '@ENABLE_SECONTEXT_FALSE@'#' .OP \-\-secontext\fR[=\fIformat\fR] .OP \-\-tips\fR[=\fIformat\fR] .BR "" { @@ -71,13 +71,13 @@ strace \- trace system calls and signals .OP \-b execve .OM \-e expr .OP \-I n -.OP \-l limit .OP \-O overhead .OM \-p pid .OM \-P path .OP \-S sortby .OP \-U columns .OP \-\-seccomp\-bpf +.OP \-\-syscall\-limit limit .OP \-\-tips\fR[=\fIformat\fR] .BR "" { .OR \-p pid @@ -474,8 +474,6 @@ default if .BR \-D ). .RE .TP -.BI "\-l " limit -.TQ .BR "\-\-syscall\-limit" = \fIlimit\fR Detach all tracees when .I limit |