]> git.ipfire.org Git - thirdparty/util-linux.git/commit
swapon: make options --help and --version override --summary
authorBenno Schulenberg <bensberg@telfort.nl>
Thu, 13 Mar 2025 14:51:49 +0000 (15:51 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 17 Mar 2025 09:51:32 +0000 (10:51 +0100)
commitad9b9058721a7322f702d5c9beea6e77cd923377
tree2b9a581d07737b5447d235dc53de34e15d5e73a6
parentdc21a01dcc97db5f86af3621468e9d79237983e4
swapon: make options --help and --version override --summary

When -h or --help is among the given options, most utilities
print a help text, ignoring all other options and arguments.
Make `swapon --summary --help` conform to this general pattern.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
sys-utils/swapon.c