summaryrefslogtreecommitdiff
path: root/parted
diff options
context:
space:
mode:
authorBrian C. Lane <bcl@redhat.com>2021-09-28 16:37:43 -0700
committerBrian C. Lane <bcl@redhat.com>2021-10-06 15:52:43 -0700
commitb20227adf5756617076c9e2ec267ee6794a21e22 (patch)
treebdf001ee3061ccf71b0e50ce438bf7b1fe8fc088 /parted
parenta1f8bcde22bbd97ef7abae3c83ede77fc25a301c (diff)
downloadparted-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 'parted')
-rw-r--r--parted/parted.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/parted/parted.c b/parted/parted.c
index 975700c..310f011 100644
--- a/parted/parted.c
+++ b/parted/parted.c
@@ -2222,7 +2222,7 @@ command_register (commands, command_create (
str_list_create_unique ("print", _("print"), NULL),
do_print,
str_list_create (
-_("print [devices|free|list,all|NUMBER] display the partition table, "
+_("print [devices|free|list,all] display the partition table, "
"available devices, free space, all found partitions, or a particular "
"partition"),
NULL),
@@ -2233,8 +2233,6 @@ _(" devices : display all active block devices\n"),
_(" free : display information about free unpartitioned space on the "
"current block device\n"),
_(" list, all : display the partition tables of all active block devices\n"),
-_(" NUMBER : display more detailed information about this particular "
- "partition\n"),
NULL), 1));
command_register (commands, command_create (