Fix ldattach completion

- Add first argument definition
This commit is contained in:
Shohei YOSHIDA 2026-03-08 23:00:48 +09:00
parent fe05ed6ed6
commit 370c7e4e58
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ _arguments -s -C \
'(-p --pause)'{-p,--pause}'[Sleep for given seconds before the invocation of ldattach]:value' \ '(-p --pause)'{-p,--pause}'[Sleep for given seconds before the invocation of ldattach]:value' \
'(- *)'{-h,--help}'[Display help text and exit]'\ '(- *)'{-h,--help}'[Display help text and exit]'\
'(- *)'{-V,--version}'[Print version and exit]' \ '(- *)'{-V,--version}'[Print version and exit]' \
'1:disk' \
'2::device:->device' '2::device:->device'
# Complete device argument # Complete device argument