mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-20 04:30:06 +01:00
completion: add missing libinput analyze subtools to the zsh completions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 40b83b1105)
This commit is contained in:
parent
1ca2f11524
commit
7624497df5
1 changed files with 23 additions and 0 deletions
|
|
@ -163,12 +163,35 @@ __all_seats()
|
|||
':device:_files -W /dev/input/ -P /dev/input/'
|
||||
}
|
||||
|
||||
(( $+functions[_libinput_analyze_per-slot-delta] )) || _libinput_analyze_per-slot-delta()
|
||||
{
|
||||
_arguments \
|
||||
'--help[Show help message and exit]' \
|
||||
':recording:_files'
|
||||
}
|
||||
|
||||
(( $+functions[_libinput_analyze_touch-down-state] )) || _libinput_analyze_touch-down-state()
|
||||
{
|
||||
_arguments \
|
||||
'--help[Show help message and exit]' \
|
||||
':recording:_files'
|
||||
}
|
||||
|
||||
(( $+functions[_libinput_analyze_recording] )) || _libinput_analyze_recording()
|
||||
{
|
||||
_arguments \
|
||||
'--help[Show help message and exit]' \
|
||||
':recording:_files'
|
||||
}
|
||||
|
||||
(( $+functions[_libinput_analyze] )) || _libinput_analyze()
|
||||
{
|
||||
local curcontext=$curcontext state line ret=1
|
||||
local features
|
||||
features=(
|
||||
"per-slot-delta:analyze relative movement per touch per slot"
|
||||
"recording:analyze a recording by printing a pretty table"
|
||||
"touch-down-state:analyze a recording for logical touch down states"
|
||||
)
|
||||
|
||||
_arguments -C \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue