diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-09-04 21:19:46 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2015-09-04 21:19:46 +0000 |
commit | 543856707475c0389e6cb6bb429794efa8568269 (patch) | |
tree | 1b490ec30694b71ed1bb80497833511f1df1913e /sbin/fdisk/fdisk.c | |
parent | 0a6052e6992b5b476a4d723abfb3b28a8892fa5e (diff) |
shuffle -b into place; while there, do some general tidy up
of SYNOPSIS and usage();
Diffstat (limited to 'sbin/fdisk/fdisk.c')
-rw-r--r-- | sbin/fdisk/fdisk.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c index cd4b6bc3b5f..e8bbd4f9a63 100644 --- a/sbin/fdisk/fdisk.c +++ b/sbin/fdisk/fdisk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fdisk.c,v 1.75 2015/09/04 19:02:49 kettenis Exp $ */ +/* $OpenBSD: fdisk.c,v 1.76 2015/09/04 21:19:45 jmc Exp $ */ /* * Copyright (c) 1997 Tobias Weingartner @@ -49,17 +49,17 @@ usage(void) extern char * __progname; fprintf(stderr, "usage: %s " - "[-i|-u] [-egy] [-c # -h # -s #] [-f mbrfile] " - "[-l blocks] [-b blocks] disk\n" - "\t-i: initialize disk with virgin MBR\n" - "\t-u: update MBR code, preserve partition table\n" + "[-egy] [-b blocks] [-c # -h # -s #] [-f mbrfile] " + "[-i|-u] [-l blocks] disk\n" + "\t-b: add special boot partition; requires -i\n" + "\t-chs: specify disk geometry\n" "\t-e: edit MBRs on disk interactively\n" "\t-f: specify non-standard MBR template\n" - "\t-chs: specify disk geometry\n" + "\t-g: initialize disk with EFI/GPT partition; requires -i\n" + "\t-i: initialize disk with virgin MBR\n" "\t-l: specify LBA block count\n" + "\t-u: update MBR code; preserve partition table\n" "\t-y: do not ask questions\n" - "\t-g: initialize disk with EFI/GPT partition, requires -i\n" - "\t-b: add special boot partition, requires -i\n" "`disk' may be of the forms: sd0 or /dev/rsd0c.\n", __progname); exit(1); |