update usage message
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 11 Apr 1990 03:31:54 +0000 (19:31 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Wed, 11 Apr 1990 03:31:54 +0000 (19:31 -0800)
SCCS-vsn: sbin/mount/mount.c 5.31

usr/src/sbin/mount/mount.c

index cb2c1cf..71d1656 100644 (file)
@@ -22,7 +22,7 @@ char copyright[] =
 #endif /* not lint */
 
 #ifndef lint
 #endif /* not lint */
 
 #ifndef lint
-static char sccsid[] = "@(#)mount.c    5.30 (Berkeley) %G%";
+static char sccsid[] = "@(#)mount.c    5.31 (Berkeley) %G%";
 #endif /* not lint */
 
 #include "pathnames.h"
 #endif /* not lint */
 
 #include "pathnames.h"
@@ -387,7 +387,12 @@ getmnttype(fstype)
 
 usage()
 {
 
 usage()
 {
-       fprintf(stderr, "usage: mount [-afurw]\nor mount [-furw] special | node\nor mount [-furw] special node\n");
+
+       fprintf(stderr, "usage:\n  mount %s %s\n  mount %s\n  mount %s\n",
+               "[ -frwu ] [ -t nfs | ufs | external_type ]",
+               "[ -o options ] special node",
+               "[ -afrwu ] [ -t nfs | ufs | external_type ]",
+               "[ -frwu ] special | node");
        exit(1);
 }
 
        exit(1);
 }