Update ipcrm

This commit is contained in:
Shohei YOSHIDA 2025-08-05 11:43:19 +09:00
parent f21d28a4a1
commit dee6427296
No known key found for this signature in database
GPG Key ID: C9A1BB11BB940CF2
1 changed files with 13 additions and 13 deletions

View File

@ -28,25 +28,25 @@
# Description # Description
# ----------- # -----------
# #
# Completion script for ipcrm - remove System V IPC objects # Completion script for ipcrm, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
# - remove System V IPC objects
# #
# Author: # Author:
# * Aditi Sharma (https://github.com/Aditi76117) # * Aditi Sharma (https://github.com/Aditi76117)
# ------------------------------------------------------------------------------ # ------------------------------------------------------------------------------
_arguments -s \ _arguments -s \
'--all[Remove all resources of specified type]' \ '(-a --all)'{-a,--all}'-[Remove all resources]:resource:(shm msg sem)' \
'--all=msg[Remove all message queues]' \ '(-M --shmem-key)'{-M,--shmem-key}'[Remove the shared memory segment created with shemkey]:shmkey' \
'--all=shm[Remove all shared memory segments]' \ '(-m --shmem-id)'{-m,--shmem-id}'[Remove the shared memory segment identified by shmid]:shmid' \
'--all=sem[Remove all semaphores]' \ '(-Q --queue-key)'{-Q,--queue-key}'[Remove the message queue created with msgkey]:msgkey' \
'--msgid[Remove message queue by id]:msgid: ' \ '(-q --queue-id)'{-q,--queue-id}'[Remove the message queue identified by msgid]:msgid' \
'--shmid[Remove shared memory segment by id]:shmid: ' \ '(-S --semaphore-key)'{-S,--semaphore-key}'[Remove the semaphore created with semkey]:semkey' \
'--semid[Remove semaphore by id]:semid: ' \ '(-s --semaphore-id)'{-s,--semaphore-id}'[Remove the semaphore identified by semid]' \
'--msgkey[Remove message queue by key]:msgkey: ' \ '(- *)'{-h,--help}'[Display help text and exit]' \
'--shmkey[Remove shared memory segment by key]:shmkey: ' \ '(- *)'{-V,--version}'[Print version and exit]' \
'--semkey[Remove semaphore by key]:semkey: ' \ '1:type:(shm msg sem)' \
'--help[Display help message and exit]' \ '*:id'
'--version[Display version information and exit]'
# Local Variables: # Local Variables:
# mode: Shell-Script # mode: Shell-Script