summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-11-13 15:32:37 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-11-13 15:32:37 +0000
commit47745d225bbe2913f285378c04167e89adde3de4 (patch)
treed8b3dbf10a50da3a63551e29518b29b2e404f5cf /sbin
parent0ac2f8512bb8cd3adb8f55baff5b4ba761407d5c (diff)
Make usage() output fit on a 'normal' 80-character line. Tweak some
verbiage in the usage() output.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/fdisk/fdisk.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index 5646c5926a5..bedefb9bed0 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.81 2015/11/13 02:27:17 krw Exp $ */
+/* $OpenBSD: fdisk.c,v 1.82 2015/11/13 15:32:36 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -50,14 +50,14 @@ usage(void)
extern char * __progname;
fprintf(stderr, "usage: %s "
- "[-egy] [-i|-u] [-b blocks] [-c # -h # -s #] "
- "[-f mbrfile] [-l blocks] disk\n"
- "\t-b: add special boot partition; requires -i\n"
+ "[-egy] [-i|-u] [-b #] [-c # -h # -s #] "
+ "[-f mbrfile] [-l # ] disk\n"
+ "\t-b: specify special boot partition block count; requires -i\n"
"\t-chs: specify disk geometry\n"
- "\t-e: edit MBRs on disk interactively\n"
+ "\t-e: interactively edit MBR or GPT\n"
"\t-f: specify non-standard MBR template\n"
- "\t-g: initialize disk with EFI/GPT partition; requires -i\n"
- "\t-i: initialize disk with virgin MBR\n"
+ "\t-g: initialize disk with GPT; requires -i\n"
+ "\t-i: initialize disk with MBR unless -g is also specified\n"
"\t-l: specify LBA block count\n"
"\t-u: update MBR code; preserve partition table\n"
"\t-y: do not ask questions\n"