Blame SOURCES/0002-doc-Document-fix-flag.patch

edefaa
From 8aa569aa60c37526a8c37b06e88a833745a7a6ef Mon Sep 17 00:00:00 2001
edefaa
From: Cristian Klein <cristian.klein@elastisys.com>
edefaa
Date: Fri, 11 Dec 2020 22:19:23 +0100
edefaa
Subject: [PATCH 2/5] doc: Document --fix flag
edefaa
edefaa
Also fix copyright year, to please `make syntax-check`.
edefaa
edefaa
Signed-off-by: Brian C. Lane <bcl@redhat.com>
edefaa
---
edefaa
 doc/C/parted.8  | 3 +++
edefaa
 doc/parted.texi | 6 ++++++
edefaa
 2 files changed, 9 insertions(+)
edefaa
edefaa
diff --git a/doc/C/parted.8 b/doc/C/parted.8
edefaa
index 297c39a..d8e556e 100644
edefaa
--- a/doc/C/parted.8
edefaa
+++ b/doc/C/parted.8
edefaa
@@ -27,6 +27,9 @@ displays machine parseable output
edefaa
 .B -s, --script
edefaa
 never prompts for user intervention
edefaa
 .TP
edefaa
+.B -f, --fix
edefaa
+automatically answer "fix" to exceptions in script mode
edefaa
+.TP
edefaa
 .B -v, --version
edefaa
 displays the version
edefaa
 .TP
edefaa
diff --git a/doc/parted.texi b/doc/parted.texi
edefaa
index d89d74d..33212f0 100644
edefaa
--- a/doc/parted.texi
edefaa
+++ b/doc/parted.texi
edefaa
@@ -406,6 +406,12 @@ display a help message
edefaa
 @itemx --script
edefaa
 never prompt the user
edefaa
 
edefaa
+@item -f
edefaa
+@itemx --fix
edefaa
+automatically answer exceptions with "fix" in script mode, whcih is useful for:
edefaa
+GPT header not including full disk size; moving the backup GPT table to the end of the disk;
edefaa
+MAC fix missing partition map entry; etc.
edefaa
+
edefaa
 @item -a alignment-type
edefaa
 @itemx --align alignment-type
edefaa
 Set alignment for newly created partitions, valid alignment types are:
edefaa
-- 
edefaa
2.26.2
edefaa