[parted-devel] [PATCH 2/5] doc: Document --fix flag
cristian at kleinlabs.eu
cristian at kleinlabs.eu
Fri Dec 11 21:19:23 GMT 2020
From: Cristian Klein <cristian.klein at elastisys.com>
Also fix copyright year, to please `make syntax-check`.
---
doc/C/parted.8 | 3 +++
doc/parted.texi | 8 +++++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/doc/C/parted.8 b/doc/C/parted.8
index 297c39a..d8e556e 100644
--- a/doc/C/parted.8
+++ b/doc/C/parted.8
@@ -27,6 +27,9 @@ displays machine parseable output
.B -s, --script
never prompts for user intervention
.TP
+.B -f, --fix
+automatically answer "fix" to exceptions in script mode
+.TP
.B -v, --version
displays the version
.TP
diff --git a/doc/parted.texi b/doc/parted.texi
index 213fc84..84d39c8 100644
--- a/doc/parted.texi
+++ b/doc/parted.texi
@@ -14,7 +14,7 @@ and manipulating partition tables.
@ifnottex @c texi2pdf don't understand copying and insertcopying ???
@c modifications must also be done in the titlepage
@copying
-Copyright @copyright{} 1999-2014, 2019 Free Software Foundation, Inc.
+Copyright @copyright{} 1999-2014, 2020 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
@@ -406,6 +406,12 @@ display a help message
@itemx --script
never prompt the user
+ at item -f
+ at itemx --fix
+automatically answer exceptions with "fix" in script mode, whcih is useful for:
+GPT header not including full disk size; moving the backup GPT table to the end of the disk;
+MAC fix missing partition map entry; etc.
+
@item -a alignment-type
@itemx --align alignment-type
Set alignment for newly created partitions, valid alignment types are:
--
2.25.1
More information about the parted-devel
mailing list