Update chmem
This commit is contained in:
parent
3ef170ff4f
commit
50611e5b99
16
src/_chmem
16
src/_chmem
|
@ -28,19 +28,21 @@
|
||||||
# Description
|
# 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:
|
# Author:
|
||||||
# *Aditi Sharma (https://github.com/Aditi76117)
|
# *Aditi Sharma (https://github.com/Aditi76117)
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
_arguments -s \
|
_arguments -s \
|
||||||
'--enable[Enable memory section]:memory section (e.g., 0x1234)' \
|
'(-b --blocks)'{-b,--blocks}'[Use a BLOCKRANGE parameter instead of RANGE or SIZE]' \
|
||||||
'--disable[Disable memory section]:memory section (e.g., 0x1234)' \
|
'(-d --disable)'{-d,--disable}'[Set the specified RANGE, SIZE, or BLOCKRANGE of memory offline]' \
|
||||||
'--blocks[Specify blocks instead of section numbers]' \
|
'(-e --enable)'{-e,--enable}'[Set the specified RANGE, SIZE, or BLOCKRANGE of memory online]' \
|
||||||
'--verbose[Enable verbose mode]' \
|
'(-z --zone)'{-z,--zone}'[Select the memory ZONE where to set the specified RANGE, SIZE, or BLOCKRANGE of memory online or offline]' \
|
||||||
'--help[Display help message and exit]' \
|
'(-v --verbose)'{-v,--verbose}'[Verbose mode]' \
|
||||||
'--version[Display version information and exit]'
|
'(- *)'{-h,--help}'[Display help text and exit]' \
|
||||||
|
'(- *)'{-V,--version}'[Print version and exit ]'
|
||||||
|
|
||||||
# Local Variables:
|
# Local Variables:
|
||||||
# mode: Shell-Script
|
# mode: Shell-Script
|
||||||
|
|
Loading…
Reference in New Issue