mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-25 10:30:07 +01:00
tools/record: correct the --help output for autorestart
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1173>
This commit is contained in:
parent
8683457ee9
commit
d2969f5203
1 changed files with 2 additions and 2 deletions
|
|
@ -2567,14 +2567,14 @@ init_hidraw(struct record_context *ctx)
|
|||
static void
|
||||
usage(void)
|
||||
{
|
||||
printf("Usage: %s [--help] [--all] [--autorestart] [--output-file filename] [/dev/input/event0] [...]\n"
|
||||
printf("Usage: %s [--help] [--all] [--autorestart=2] [--output-file filename] [/dev/input/event0] [...]\n"
|
||||
"Common use-cases:\n"
|
||||
"\n"
|
||||
" sudo %s -o recording.yml\n"
|
||||
" Then select the device to record and it Ctrl+C to stop.\n"
|
||||
" The recorded data is in recording.yml and can be attached to a bug report.\n"
|
||||
"\n"
|
||||
" sudo %s -o recording.yml --autorestart 2\n"
|
||||
" sudo %s -o recording.yml --autorestart=2\n"
|
||||
" As above, but restarts after 2s of inactivity on the device.\n"
|
||||
" Note, the output file is only the prefix.\n"
|
||||
"\n"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue