diff options
| author | Benno Schulenberg <bensberg@telfort.nl> | 2025-09-09 17:12:08 +0200 |
|---|---|---|
| committer | Karel Zak <kzak@redhat.com> | 2025-09-10 10:39:14 +0200 |
| commit | 6134498c46cdcf4954331d36ba4da87af2e35e8e (patch) | |
| tree | efd291c34394fda13b575355e125c3d1ea94f8bc | |
| parent | 96ced06c80963176e305ad71c878015fc429d882 (diff) | |
| download | util-linux-6134498c46cdcf4954331d36ba4da87af2e35e8e.tar.gz | |
sfdisk: (man) do not use the common 'include' for --help and --version
Anomalously, `sfdisk` uses -v for --version instead of the standard
uppercase -V. In `sfdisk` -V means --verify.
This effectively reverts commit 82d0bfe59a from last week, and
adds a comment to try and prevent the mistake in the future.
CC: Mario Blättermann <mario.blaettermann@gmail.com>
Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
| -rw-r--r-- | disk-utils/sfdisk.8.adoc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/disk-utils/sfdisk.8.adoc b/disk-utils/sfdisk.8.adoc index 01bcfbfff4..7d5db422e6 100644 --- a/disk-utils/sfdisk.8.adoc +++ b/disk-utils/sfdisk.8.adoc @@ -239,7 +239,13 @@ Wipe filesystem, RAID and partition-table signatures from the device, in order t *-W*, *--wipe-partitions* _when_:: Wipe filesystem, RAID and partition-table signatures from a newly created partition, in order to avoid possible collisions. The argument _when_ can be *auto*, *never* or *always*. When this option is not given, the default is *auto*, in which case signatures are wiped only when in interactive mode and after confirmation by user. In all cases detected signatures are reported by warning messages after a new partition is created. See also *wipefs*(8) command. -include::man-common/help-version.adoc[] +*-h*, *--help*:: +Display help text and exit. + +*-v*, *--version*:: +Display version and exit. + +// Do not include::man-common/help-version.adoc[], as -V is not --version. == INPUT FORMATS |
