From 6dee3abbe8d553d251be46c23c8f334618400402 Mon Sep 17 00:00:00 2001 From: charnier Date: Tue, 30 Jun 1998 06:23:42 +0000 Subject: Split usage string. --- sbin/i386/mount_msdos/mount_msdos.8 | 16 ++++++++++------ sbin/i386/mount_msdos/mount_msdos.c | 6 ++++-- 2 files changed, 14 insertions(+), 8 deletions(-) (limited to 'sbin/i386') diff --git a/sbin/i386/mount_msdos/mount_msdos.8 b/sbin/i386/mount_msdos/mount_msdos.8 index b4e92c9..46ca78b 100644 --- a/sbin/i386/mount_msdos/mount_msdos.8 +++ b/sbin/i386/mount_msdos/mount_msdos.8 @@ -12,7 +12,7 @@ .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: +.\" must display the following acknowledgment: .\" This product includes software developed by Christopher G. Demetriou. .\" 3. The name of the author may not be used to endorse or promote products .\" derived from this software without specific prior written permission @@ -28,7 +28,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: mount_msdos.8,v 1.12 1998/02/23 17:29:08 ache Exp $ +.\" $Id: mount_msdos.8,v 1.13 1998/03/01 08:41:05 ache Exp $ .\" .Dd April 7, 1994 .Dt MOUNT_MSDOS 8 @@ -37,7 +37,7 @@ .Nm mount_msdos .Nd mount an MS-DOS file system .Sh SYNOPSIS -.Nm +.Nm mount_msdos .Op Fl o Ar options .Op Fl u Ar uid .Op Fl g Ar gid @@ -86,7 +86,9 @@ on which the file system is being mounted. .It Fl m Ar mask Specify the maximum file permissions for files in the file system. -(For example, a mask of +(For example, a +.Ar mask +of .Li 755 specifies that, by default, the owner should have read, write, and execute permissions for files, but @@ -97,7 +99,9 @@ for more information about octal file modes.) Only the nine low-order bits of .Ar mask are used. -The default mask is taken from the +The default +.Ar mask +is taken from the directory on which the file system is being mounted. .It Fl s Force behaviour to @@ -126,7 +130,7 @@ if deleting or renaming a file. This forces .Fl s . .\".It Fl G .\"This option causes the filesystem to be interpreted as an Atari-Gemdos -.\"filesystem. The differences to the msdos filesystem are minimal and +.\"filesystem. The differences to the MS-DOS filesystem are minimal and .\"limited to the boot block. This option enforces .\".Fl s . .It Fl L Ar locale diff --git a/sbin/i386/mount_msdos/mount_msdos.c b/sbin/i386/mount_msdos/mount_msdos.c index 8d7e428..3536b68 100644 --- a/sbin/i386/mount_msdos/mount_msdos.c +++ b/sbin/i386/mount_msdos/mount_msdos.c @@ -32,7 +32,7 @@ #ifndef lint static const char rcsid[] = - "$Id: mount_msdos.c,v 1.13 1998/02/23 09:41:02 ache Exp $"; + "$Id: mount_msdos.c,v 1.14 1998/02/23 16:49:16 ache Exp $"; #endif /* not lint */ #include @@ -240,7 +240,9 @@ a_mask(s) void usage() { - fprintf(stderr, "usage: mount_msdos [-o options] [-u user] [-g group] [-m mask] [-s] [-l] [-9] [-L locale] [-W table] bdev dir\n"); + fprintf(stderr, "%s\n%s\n", + "usage: mount_msdos [-o options] [-u user] [-g group] [-m mask]", + " [-s] [-l] [-9] [-L locale] [-W table] bdev dir"); exit(EX_USAGE); } -- cgit v1.1