fdisk, sfdisk: adjust the wording of the --wipe option

Use "when" as argument, to match the argument of --color,
that can have the same three values.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
This commit is contained in:
Benno Schulenberg 2016-03-08 10:07:45 +01:00 committed by Karel Zak
parent 7e3b3f4710
commit 589b69316c
2 changed files with 14 additions and 12 deletions

View File

@ -119,12 +119,13 @@ Specify the number of sectors per track of the disk.
partition tables.) A reasonable value is 63.
.TP
\fB\-w\fR, \fB\-\-wipe\fR \fImode\fR
Wipe filesystems, RAIDs and partition tables signatures from the device, in
order to avoid possible collisions. The \fImode\fR can be \fBauto\fR,
\fBnever\fR or \fBalways\fR. The default is \fBauto\fR, in this case signatures
are wiped in the interactive mode only, in all cases detected signatures are
reported by warning message before a new partition table is created. See also
\fB\-w\fR, \fB\-\-wipe\fR \fIwhen\fR
Wipe filesystem, RAID and partition-table signatures from the device, in order
to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR,
\fBnever\fR or \fBalways\fR. When this option is not given, the default is
\fBauto\fR, in which case signatures are wiped only when in interactive mode.
In all cases detected signatures are reported by warning messages
before a new partition table is created. See also
.BR wipefs (8)
command.

View File

@ -210,12 +210,13 @@ Force editing of a nested disk label. The primary disk label has to exist alrea
This option allows to edit for example a hybrid/protective MBR on devices with GPT.
.TP
.BR -w , " \-\-wipe "\fImode
Wipe filesystems, RAIDs and partition tables signatures from the device, in
order to avoid possible collisions. The \fImode\fR can be \fBauto\fR,
\fBnever\fR or \fBalways\fR. The default is \fBauto\fR, in this case signatures
are wiped in the interactive mode only, in all cases detected signatures are
reported by warning message before a new partition table is created. See also
.BR -w , " \-\-wipe "\fIwhen
Wipe filesystem, RAID and partition-table signatures from the device, in order
to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR,
\fBnever\fR or \fBalways\fR. When this option is not given, the default is
\fBauto\fR, in which case signatures are wiped only when in interactive mode.
In all cases detected signatures are reported by warning messages
before a new partition table is created. See also
.BR wipefs (8)
command.