diff options
| author | Shohei YOSHIDA <syohex@gmail.com> | 2024-11-17 23:25:48 +0900 |
|---|---|---|
| committer | Shohei YOSHIDA <syohex@gmail.com> | 2024-11-17 23:25:48 +0900 |
| commit | fdc290d4171d3eb1e65237ad45b148497ecd44dc (patch) | |
| tree | ff63d18d11c334b5560d23f512059324c5c9ed41 /src/_uuidgen | |
| parent | Consider macOS's uuidgen (diff) | |
| download | zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar.gz zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar.bz2 zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar.lz zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar.xz zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.tar.zst zsh-completions-fdc290d4171d3eb1e65237ad45b148497ecd44dc.zip | |
Consider BSD distributions
Diffstat (limited to 'src/_uuidgen')
| -rw-r--r-- | src/_uuidgen | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/_uuidgen b/src/_uuidgen index 5e9d498..a2c4078 100644 --- a/src/_uuidgen +++ b/src/_uuidgen @@ -39,6 +39,26 @@ case $OSTYPE in _arguments \ '-hdr[emit result in form suitable for copying into a header]' ;; + (freebsd*) + _arguments \ + '-1[instructs uuidgen to not generate them in batch, but one at a time]' \ + '-r[create random UUID version 4]' \ + '-c[create compact UUID without hyphen]' \ + '-n[number of identifiers generated]:num' \ + '-o[redirect output to filename instead of stdout]:file:_files' + ;; + (netbsd*) + _arguments \ + '-1[instructs uuidgen to not generate them in batch, but one at a time]' \ + '-n[number of identifiers generated]:num' \ + '-s[output UUIDs as initialized C structures]' + ;; + (dragonfly*) + _arguments \ + '-1[instructs uuidgen to not generate them in batch, but one at a time]' \ + '-n[number of identifiers generated]:num' \ + '-o[redirect output to filename instead of stdout]:file:_files' + ;; (*) _arguments \ '(- *)'{-h,--help}'[display this help]' \ |
