From 589b69316c481801c2ba6ff464005e7c2233097e Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Tue, 8 Mar 2016 10:07:45 +0100 Subject: [PATCH] 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 --- disk-utils/fdisk.8 | 13 +++++++------ disk-utils/sfdisk.8 | 13 +++++++------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/disk-utils/fdisk.8 b/disk-utils/fdisk.8 index 49401e5e8..89e3153e1 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 b8cacee07..52b1b3457 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.