diff options
author | Brian C. Lane <bcl@redhat.com> | 2021-09-28 16:37:43 -0700 |
---|---|---|
committer | Brian C. Lane <bcl@redhat.com> | 2021-10-06 15:52:43 -0700 |
commit | b20227adf5756617076c9e2ec267ee6794a21e22 (patch) | |
tree | bdf001ee3061ccf71b0e50ce438bf7b1fe8fc088 /doc/C | |
parent | a1f8bcde22bbd97ef7abae3c83ede77fc25a301c (diff) | |
download | parted-b20227adf5756617076c9e2ec267ee6794a21e22.tar.gz |
docs: Update documentation to be consistent
This fixes some missing commands in the parted.texi file used to
generate the web manual and info document. It also removes documentation
for the never-implemented 'print NUMBER' command which only returns 1.
The parted manpage has been updated to document the available print
options, disk_set, and disk_toggle commands.
Diffstat (limited to 'doc/C')
-rw-r--r-- | doc/C/parted.8 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/C/parted.8 b/doc/C/parted.8 index afca9f2..c742154 100644 --- a/doc/C/parted.8 +++ b/doc/C/parted.8 @@ -1,4 +1,4 @@ -.TH PARTED 8 "2007 March 29" parted "GNU Parted Manual" +.TH PARTED 8 "2021 September 28" parted "GNU Parted Manual" .SH NAME parted \- a partition manipulation program .SH SYNOPSIS @@ -24,7 +24,7 @@ lists partition layout on all block devices .B -m, --machine displays machine parseable output .TP -.B -m, --json +.B -j, --json displays JSON output .TP .B -s, --script @@ -92,8 +92,9 @@ PC98, and GPT disklabels. The name can be placed in double quotes, if necessary. And depending on the shell may need to also be wrapped in single quotes so that the shell doesn't strip off the double quotes. .TP -.B print +.B print \fIprint-type\fP Display the partition table. +\fIprint-type\fP is optional, and can be one of devices, free, list, or all. .TP .B quit Exit from \fBparted\fP. @@ -133,6 +134,15 @@ human-friendly form for output). .B toggle \fIpartition\fP \fIflag\fP Toggle the state of \fIflag\fP on \fIpartition\fP. .TP +.B disk_set \fIflag\fP \fIstate\fP +Change a \fIflag\fP on the disk to \fIstate\fP. A flag can be either "on" or "off". +Some or all of these flags will be available, depending on what disk label you +are using. Supported flags are: "pmbr_boot" on GPT to enable the boot flag on the +GPT's protective MBR partition. +.TP +.B disk_toggle \fIflag\fP +Toggle the state of the disk \fIflag\fP. +.TP .B version Display version information and a copyright message. .RE |