diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-10 09:04:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-03-10 09:54:07 +1000 |
commit | 40b83b11058bcc4c02ea3e7b631c8777c01b4291 (patch) | |
tree | bfc62fd9a5db239bc94dff11e2f8d5a5235541a0 | |
parent | c00c5cb6914b8674115fa591bf5c0351ead7161f (diff) | |
download | libinput-40b83b11058bcc4c02ea3e7b631c8777c01b4291.tar.gz |
completion: add missing libinput analyze subtools to the zsh completions
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | completion/zsh/_libinput | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/completion/zsh/_libinput b/completion/zsh/_libinput index e793109a..617bc165 100644 --- a/completion/zsh/_libinput +++ b/completion/zsh/_libinput @@ -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 \ |