summaryrefslogtreecommitdiff
path: root/sbin/fdisk/fdisk.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-27 15:34:50 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-27 15:34:50 +0000
commit94048974711a0ea916cfcac760eb38c6a8e58c18 (patch)
treea66c1cbf0bcfa2b38e712fd85762df04de638658 /sbin/fdisk/fdisk.c
parent783f1f5908449ecb9a84ddb0ab18d2dfea4c7f23 (diff)
installing people do not have man pages; better usage
Diffstat (limited to 'sbin/fdisk/fdisk.c')
-rw-r--r--sbin/fdisk/fdisk.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/fdisk/fdisk.c b/sbin/fdisk/fdisk.c
index d4047180c8e..51c4d85e17b 100644
--- a/sbin/fdisk/fdisk.c
+++ b/sbin/fdisk/fdisk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdisk.c,v 1.6 1996/09/27 15:27:03 deraadt Exp $ */
+/* $OpenBSD: fdisk.c,v 1.7 1996/09/27 15:34:49 deraadt Exp $ */
/* $NetBSD: fdisk.c,v 1.11 1995/10/04 23:11:19 ghudson Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: fdisk.c,v 1.6 1996/09/27 15:27:03 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: fdisk.c,v 1.7 1996/09/27 15:34:49 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -242,6 +242,8 @@ void
usage()
{
fprintf(stderr, "usage: fdisk [-aium] [-0123] [-f mbrboot] device\n");
+ fprintf(stderr, " -a: change active, -i: initialize, -u: update\n");
+ fprintf(stderr, " -m: replace MBR bootblock, -0123: select partition\n");
exit(1);
}