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