'disklabel -i' on a disk without a label recommends to use -I. Document

that in the usage.
This commit is contained in:
hubertf 2000-07-13 01:47:22 +00:00
parent ccb90e6fe9
commit 6f0558d9f6
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: disklabel.8,v 1.30 2000/05/31 14:13:48 fvdl Exp $
.\" $NetBSD: disklabel.8,v 1.31 2000/07/13 01:47:22 hubertf Exp $
.\"
.\" Copyright (c) 1987, 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -56,6 +56,7 @@
.Nm ""
.Fl e
.Op Fl r
.Op Fl I
.Op Fl C
.Ar disk
.Nm ""

View File

@ -1,4 +1,4 @@
/* $NetBSD: disklabel.c,v 1.85 2000/07/07 12:29:10 itojun Exp $ */
/* $NetBSD: disklabel.c,v 1.86 2000/07/13 01:47:22 hubertf Exp $ */
/*
* Copyright (c) 1987, 1993
@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\
static char sccsid[] = "@(#)disklabel.c 8.4 (Berkeley) 5/4/95";
/* from static char sccsid[] = "@(#)disklabel.c 1.2 (Symmetric) 11/28/85"; */
#else
__RCSID("$NetBSD: disklabel.c,v 1.85 2000/07/07 12:29:10 itojun Exp $");
__RCSID("$NetBSD: disklabel.c,v 1.86 2000/07/13 01:47:22 hubertf Exp $");
#endif
#endif /* not lint */
@ -1898,7 +1898,7 @@ usage()
"(to write label)"
#endif
},
{ "%s -e [-r] [-C] disk",
{ "%s -e [-r] [-I] [-C] disk",
"(to edit label)" },
{ "%s -i [-r] disk",
"(to create a label interactively)" },