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

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