]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: rename the new --annotation option to --annotate
authorBenno Schulenberg <bensberg@telfort.nl>
Mon, 6 Oct 2025 00:24:41 +0000 (20:24 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 6 Oct 2025 00:25:22 +0000 (20:25 -0400)
commit53e247a28d666f12982b31fba0c0101372d0803d
treec37d78a79dfc01b2b8592c3054e4f0d8ede16589
parent368c7bda2effe3946f5143a325d150efd8dd04fc
swapon: rename the new --annotation option to --annotate

The form --annotation gave the impression that after the subsequent
"=" comes the text that each column name should be annotated with.
Furthermore, the other two options with optional arguments (--show
and --discard) are in the imperative, so follow that style and use
--annotate instead.

(In the bargain, this allows aligning the descriptions in the help
text perfectly again.)

Also, improve the description of --annotate in the man page somewhat.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
bash-completion/swapon
lib/strutils.c
man-common/annotation.adoc
sys-utils/swapon.c