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

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