Blame SOURCES/0039-Cleanup-mkpart-manpage-entry-1183077.patch

003ee8
From a5a64f34ca3d64c4da04ed6e870d4c8e469c6098 Mon Sep 17 00:00:00 2001
003ee8
From: "Brian C. Lane" <bcl@redhat.com>
003ee8
Date: Thu, 5 Nov 2015 15:03:54 -0800
003ee8
Subject: [PATCH 39/40] Cleanup mkpart manpage entry (#1183077)
003ee8
003ee8
(cherry picked from commit fa6cd8448f68e6661fb86a8331b44198edd02c9d)
003ee8
---
003ee8
 doc/C/parted.8  | 8 ++++----
003ee8
 doc/parted.texi | 2 +-
003ee8
 2 files changed, 5 insertions(+), 5 deletions(-)
003ee8
003ee8
diff --git a/doc/C/parted.8 b/doc/C/parted.8
003ee8
index a45f42f..41baa1a 100644
003ee8
--- a/doc/C/parted.8
003ee8
+++ b/doc/C/parted.8
003ee8
@@ -73,12 +73,12 @@ Create a new disklabel (partition table) of \fIlabel-type\fP.  \fIlabel-type\fP
003ee8
 should be one of "aix", "amiga", "bsd", "dvh", "gpt", "loop", "mac", "msdos",
003ee8
 "pc98", or "sun".
003ee8
 .TP
003ee8
-.B mkpart \fIpart-type\fP \fI[fs-type]\fP \fIstart\fP \fIend\fP
003ee8
-Make a \fIpart-type\fP partition for filesystem \fIfs-type\fP (if specified),
003ee8
-beginning at \fIstart\fP and ending at \fIend\fP (by default in megabytes).
003ee8
+.B mkpart [\fIpart-type\fP \fIname\fP \fIfs-type\fP] \fIstart\fP \fIend\fP
003ee8
+Create a new partition. \fIpart-type\fP may be specified only with msdos and
003ee8
+dvh partition tables, it should be one of "primary", "logical", or "extended".
003ee8
+\fIname\fP is required for GPT partition tables and \fIfs-type\fP is optional.
003ee8
 \fIfs-type\fP can be one of "btrfs", "ext2", "ext3", "ext4", "fat16", "fat32",
003ee8
 "hfs", "hfs+", "linux-swap", "ntfs", "reiserfs", or "xfs".
003ee8
-\fIpart-type\fP should be one of "primary", "logical", or "extended".
003ee8
 .TP
003ee8
 .B name \fIpartition\fP \fIname\fP
003ee8
 Set the name of \fIpartition\fP to \fIname\fP. This option works only on Mac,
003ee8
diff --git a/doc/parted.texi b/doc/parted.texi
003ee8
index 07aa702..c727fb2 100644
003ee8
--- a/doc/parted.texi
003ee8
+++ b/doc/parted.texi
003ee8
@@ -550,7 +550,7 @@ PCs.
003ee8
 @cindex mkpart, command description
003ee8
 @cindex command description, mkpart
003ee8
 
003ee8
-@deffn Command mkpart [@var{part-type} @var{fs-type} @var{name}] @var{start} @var{end}
003ee8
+@deffn Command mkpart [@var{part-type} @var{name} @var{fs-type}] @var{start} @var{end}
003ee8
 
003ee8
 Creates a new partition, @emph{without} creating a new file system on
003ee8
 that partition.  This is useful for creating partitions for file systems
003ee8
-- 
003ee8
2.5.5
003ee8