Add -s option to usage().
authorjsing <jsing@openbsd.org>
Fri, 15 Aug 2008 14:41:21 +0000 (14:41 +0000)
committerjsing <jsing@openbsd.org>
Fri, 15 Aug 2008 14:41:21 +0000 (14:41 +0000)
Prompted by jmc@

ok jmc@

sbin/mount_vnd/mount_vnd.c

index 70441e4..1da332b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: mount_vnd.c,v 1.6 2008/08/14 17:10:29 jsing Exp $     */
+/*     $OpenBSD: mount_vnd.c,v 1.7 2008/08/15 14:41:21 jsing Exp $     */
 /*
  * Copyright (c) 1993 University of Utah.
  * Copyright (c) 1990, 1993
@@ -338,12 +338,13 @@ usage(void)
 
        if (run_mount_vnd)
                (void)fprintf(stderr,
-                   "usage: %s [-k] [-K rounds] [-o options] "
-                   "[-S saltfile] image vnd_dev\n", __progname);
+                   "usage: mount_vnd [-k] [-K rounds] [-o options] "
+                   "[-S saltfile] [-s secsize]\n"
+                   "\t\t image vnd_dev\n");
        else
                (void)fprintf(stderr,
-                   "usage: %s [-ckluv] [-K rounds] [-S saltfile] vnd_dev "
-                   "image\n", __progname);
+                   "usage: %s [-ckluv] [-K rounds] [-S saltfile] "
+                   "[-s secsize] vnd_dev image\n", __progname);
 
        exit(1);
 }