diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/newfs_ext2fs/newfs_ext2fs.c | 23 | ||||
-rw-r--r-- | sbin/route/route.c | 5 |
2 files changed, 2 insertions, 26 deletions
diff --git a/sbin/newfs_ext2fs/newfs_ext2fs.c b/sbin/newfs_ext2fs/newfs_ext2fs.c index a22423490ae..3017ec220cc 100644 --- a/sbin/newfs_ext2fs/newfs_ext2fs.c +++ b/sbin/newfs_ext2fs/newfs_ext2fs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newfs_ext2fs.c,v 1.27 2019/06/28 13:32:45 deraadt Exp $ */ +/* $OpenBSD: newfs_ext2fs.c,v 1.28 2021/06/26 15:42:58 deraadt Exp $ */ /* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */ /* @@ -428,34 +428,13 @@ strsuftoi64(const char *desc, const char *arg, int64_t min, int64_t max, return result; } -static const char help_strings[] = - "\t-b bsize\tblock size\n" - "\t-D inodesize\tsize of an inode in bytes (128 or 256)\n" - "\t-F \t\tcreate file system image in regular file\n" - "\t-f fsize\tfragment size\n" - "\t-I \t\tdo not check that the file system type is `ext2fs'\n" - "\t-i density\tnumber of bytes per inode\n" - "\t-m minfree\tminimum free space %\n" - "\t-N \t\tdo not create file system, just print out parameters\n" - "\t-n inodes\tnumber of inodes (overrides -i density)\n" - "\t-O N\t\tfilesystem revision: 0 ==> REV0, 1 ==> REV1 (default 0)\n" - "\t-S secsize\tsector size\n" - "\t-s fssize\tfile system size (sectors)\n" - "\t-V verbose\toutput verbosity: 0 ==> none, 4 ==> max\n" - "\t-v volname\text2fs volume name\n" - "\t-Z \t\tpre-zero the image file\n"; - static void usage(void) { - extern char *__progname; fprintf(stderr, "usage: %s [ fsoptions ] special-device\n", __progname); - fprintf(stderr, "where fsoptions are:\n"); - fprintf(stderr, "%s", help_strings); - exit(EXIT_FAILURE); } diff --git a/sbin/route/route.c b/sbin/route/route.c index ad7cc538285..8af7c93dc9e 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.254 2021/03/12 19:35:43 florian Exp $ */ +/* $OpenBSD: route.c,v 1.255 2021/06/26 15:42:58 deraadt Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -135,9 +135,6 @@ usage(char *cp) fprintf(stderr, "usage: %s [-dnqtv] [-T rtable] command [[modifiers] args]\n", __progname); - fprintf(stderr, - "commands: add, change, delete, exec, flush, get, monitor, show, " - "sourceaddr\n"); exit(1); } |