Update ipcmk

This commit is contained in:
Shohei YOSHIDA 2025-08-05 11:36:07 +09:00
parent 420a3d78c9
commit f21d28a4a1
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 8 additions and 9 deletions

View File

@ -28,20 +28,20 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ipcmk - create various IPC resources # Completion script for ipcmk, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
# - create various IPC resources
# #
# Author: # Author:
# * Aditi Sharma (https://github.com/Aditi76117) # * Aditi Sharma (https://github.com/Aditi76117)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_arguments -s \ _arguments -s \
'--shmem[Create a shared memory segment]' \ '(-M --shmem)'{-M,--shmem}'[Create a shared memory segment of size bytes]:size' \
'--queue[Create a message queue]' \ '(-Q --queue)'{-Q,--queue}'[Create a message queue]' \
'--semaphore[Create a semaphore array]' \ '(-S --semaphore)'{-S,--semaphore}'[Create a semaphore array with number of elements]:number' \
'--size[Size of shared memory segment (in bytes)]:size (bytes): ' \ '(-p --mode)'{-p,--mode}'[Access permissions for the resource]:mode' \
'--mode[Permissions for the resource (octal)]:permissions (e.g. 0600): ' \ '(- *)'{-h,--help}'[Display help text and exit]' \
'--help[Display help message and exit]' \ '(- *)'{-V,--version}'[Print version and exit ]' \
'--version[Display version information and exit]'
# Local Variables: # Local Variables:
# mode: Shell-Script # mode: Shell-Script
@ -53,4 +53,3 @@ _arguments -s \
# Note: This script is useful only on systems with `ipcmk` (typically Linux). # Note: This script is useful only on systems with `ipcmk` (typically Linux).
# macOS does not include this command. # macOS does not include this command.