Split usage string.

This commit is contained in:
charnier 1998-06-30 06:23:42 +00:00
parent 05c01b56f4
commit 6dee3abbe8
6 changed files with 42 additions and 24 deletions

View File

@ -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

View File

@ -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 <sys/param.h>
@ -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);
}

View File

@ -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

View File

@ -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 <sys/param.h>
@ -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);
}

View File

@ -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

View File

@ -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 <sys/param.h>
@ -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);
}