From: Benno Schulenberg Date: Tue, 8 Mar 2016 09:07:45 +0000 (+0100) Subject: fdisk, sfdisk: adjust the wording of the --wipe option X-Git-Tag: v2.28-rc1~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=589b69316c481801c2ba6ff464005e7c2233097e;p=thirdparty%2Futil-linux.git 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 --- diff --git a/disk-utils/fdisk.8 b/disk-utils/fdisk.8 index 49401e5e87..89e3153e14 100644 --- a/disk-utils/fdisk.8 +++ b/disk-utils/fdisk.8 @@ -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. diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index b8cacee075..52b1b34576 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -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.