Fix uuid completion

- fix wrong option names
This commit is contained in:
Shohei YOSHIDA 2026-03-08 21:37:51 +09:00
parent 48cd968441
commit ba9b7bb7d3
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 2 additions and 2 deletions

View File

@ -66,11 +66,11 @@ case $OSTYPE in
'(-r --random)'{-r,--random}'[generate random-based uuid]' \ '(-r --random)'{-r,--random}'[generate random-based uuid]' \
'(-t --time)'{-t,--time}'[generate time-based uuid]' \ '(-t --time)'{-t,--time}'[generate time-based uuid]' \
'(-n --namespace)'{-n,--namespace}'[generate hash-based uuid in this namespace]:namespace:(@dns @url @oid @x500)' \ '(-n --namespace)'{-n,--namespace}'[generate hash-based uuid in this namespace]:namespace:(@dns @url @oid @x500)' \
'(-N --name)'{-n,--name}'[generate hash-based uuid from this name]:name' \ '(-N --name)'{-N,--name}'[generate hash-based uuid from this name]:name' \
'(-C --count -s --sha1 -m --md5)'{-m,--md5}'[generate md5 hash]' \ '(-C --count -s --sha1 -m --md5)'{-m,--md5}'[generate md5 hash]' \
'(-C --count -s --sha1 -m --md5)'{-C,--count}'[generate more uuids in loop]:count' \ '(-C --count -s --sha1 -m --md5)'{-C,--count}'[generate more uuids in loop]:count' \
'(-C --count -s --sha1 -m --md5)'{-s,--sha1}'[generate sha1 hash]' \ '(-C --count -s --sha1 -m --md5)'{-s,--sha1}'[generate sha1 hash]' \
'(-x --hex)'{-h,--hex}'[interpret name as hex string]' '(-x --hex)'{-x,--hex}'[interpret name as hex string]'
;; ;;
esac esac