summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2016-01-28 01:07:39 +0000
committerkrw <krw@openbsd.org>2016-01-28 01:07:39 +0000
commitd9e7eca04afc60eb175ae776043dd05a4ec4aa30 (patch)
treeb3fd8a63fcf89f6695b7f76ebb882559561235e8
parentMake 'r' (reorder, a.k.a. swap) command work with any two existing (diff)
downloadwireguard-openbsd-d9e7eca04afc60eb175ae776043dd05a4ec4aa30.tar.xz
wireguard-openbsd-d9e7eca04afc60eb175ae776043dd05a4ec4aa30.zip
Tweak verbiage for 'r' (reorder) command.
-rw-r--r--sbin/pdisk/pdisk.86
-rw-r--r--sbin/pdisk/pdisk.c5
2 files changed, 6 insertions, 5 deletions
diff --git a/sbin/pdisk/pdisk.8 b/sbin/pdisk/pdisk.8
index f5748df7551..d661fff1346 100644
--- a/sbin/pdisk/pdisk.8
+++ b/sbin/pdisk/pdisk.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pdisk.8,v 1.28 2016/01/27 20:24:50 krw Exp $
+.\" $OpenBSD: pdisk.8,v 1.29 2016/01/28 01:07:39 krw Exp $
.\"
.\" Copyright 1996,1997,1998 by Apple Computer, Inc.
.\" All Rights Reserved
@@ -19,7 +19,7 @@
.\" NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
.\" WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 27 2016 $
+.Dd $Mdocdate: January 28 2016 $
.Dt PDISK 8
.Os
.Sh NAME
@@ -90,7 +90,7 @@ print the partition map
.It Em q
quit editing
.It Em r
-reorder an entry in the partition map
+reorder (swap) disk positions of two entries in the partition map
.It Em s
change the size of the partition map
.It Em t
diff --git a/sbin/pdisk/pdisk.c b/sbin/pdisk/pdisk.c
index 27138e1a740..7075faad166 100644
--- a/sbin/pdisk/pdisk.c
+++ b/sbin/pdisk/pdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdisk.c,v 1.76 2016/01/27 20:11:00 krw Exp $ */
+/* $OpenBSD: pdisk.c,v 1.77 2016/01/28 01:07:39 krw Exp $ */
/*
* pdisk - an editor for Apple format partition tables
@@ -166,7 +166,8 @@ edit(struct partition_map_header **mapp)
" P show the partition map's data structures\n"
" p print the partition map\n"
" q quit editing\n"
- " r reorder an entry in the partition map\n"
+ " r reorder (swap) disk positions of two "
+ "entries in the partition map\n"
" s change the size of the partition map\n"
" t change the type of a partition\n"
" w write the partition map to disk\n");