summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Klein <cristian.klein@elastisys.com>2020-12-11 22:19:23 +0100
committerBrian C. Lane <bcl@redhat.com>2021-01-28 14:20:31 -0800
commit8aa569aa60c37526a8c37b06e88a833745a7a6ef (patch)
tree9b7467584e5967c67d3cdf6af9fbadb82caca9c2
parent7c9a96209af2b84e1eec98ad3527f82ddd966cdf (diff)
downloadparted-8aa569aa60c37526a8c37b06e88a833745a7a6ef.tar.gz
doc: Document --fix flag
Also fix copyright year, to please `make syntax-check`. Signed-off-by: Brian C. Lane <bcl@redhat.com>
-rw-r--r--doc/C/parted.83
-rw-r--r--doc/parted.texi6
2 files changed, 9 insertions, 0 deletions
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 d89d74d..33212f0 100644
--- a/doc/parted.texi
+++ b/doc/parted.texi
@@ -406,6 +406,12 @@ display a help message
@itemx --script
never prompt the user
+@item -f
+@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: