aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2025-08-05 12:01:27 +0900
committerShohei YOSHIDA <syohex@gmail.com>2025-08-05 12:01:27 +0900
commit50611e5b99f6e466d0d45b3f69c6b7a4a0b11053 (patch)
tree38e18bdeed95eab49f87e3ec18ed72bf879be80e /src
parentUpdate fallocate (diff)
downloadzsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar.gz
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar.bz2
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar.lz
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar.xz
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.tar.zst
zsh-completions-50611e5b99f6e466d0d45b3f69c6b7a4a0b11053.zip
Update chmem
Diffstat (limited to 'src')
-rw-r--r--src/_chmem16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/_chmem b/src/_chmem
index cd462e4..f1e9f9a 100644
--- a/src/_chmem
+++ b/src/_chmem
@@ -28,19 +28,21 @@
# Description
# -----------
#
-# Completion script for chmem - configure memory
+# Completion script for chmem, util-linux 2.40.2 (https://github.com/util-linux/util-linux/)
+# - configure memory
#
# Author:
# *Aditi Sharma (https://github.com/Aditi76117)
# ------------------------------------------------------------------------------
_arguments -s \
- '--enable[Enable memory section]:memory section (e.g., 0x1234)' \
- '--disable[Disable memory section]:memory section (e.g., 0x1234)' \
- '--blocks[Specify blocks instead of section numbers]' \
- '--verbose[Enable verbose mode]' \
- '--help[Display help message and exit]' \
- '--version[Display version information and exit]'
+ '(-b --blocks)'{-b,--blocks}'[Use a BLOCKRANGE parameter instead of RANGE or SIZE]' \
+ '(-d --disable)'{-d,--disable}'[Set the specified RANGE, SIZE, or BLOCKRANGE of memory offline]' \
+ '(-e --enable)'{-e,--enable}'[Set the specified RANGE, SIZE, or BLOCKRANGE of memory online]' \
+ '(-z --zone)'{-z,--zone}'[Select the memory ZONE where to set the specified RANGE, SIZE, or BLOCKRANGE of memory online or offline]' \
+ '(-v --verbose)'{-v,--verbose}'[Verbose mode]' \
+ '(- *)'{-h,--help}'[Display help text and exit]' \
+ '(- *)'{-V,--version}'[Print version and exit ]'
# Local Variables:
# mode: Shell-Script