-/* $OpenBSD: chio.c,v 1.26 2019/06/28 13:34:58 deraadt Exp $ */
+/* $OpenBSD: chio.c,v 1.27 2021/06/26 15:42:58 deraadt Exp $ */
/* $NetBSD: chio.c,v 1.1.1.1 1996/04/03 00:34:38 thorpej Exp $ */
/*
fprintf(stderr, "usage: %s [-f changer] command [arg ...]\n",
__progname);
- fprintf(stderr, "commands:");
- for (i = 0; commands[i].cc_name; i++)
- fprintf(stderr, " %s", commands[i].cc_name);
- fprintf(stderr, "\n");
exit(1);
}
-/* $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 $ */
/*
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);
}
-/* $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 $ */
/*
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);
}
-/* $OpenBSD: mapper.c,v 1.25 2019/06/28 13:32:48 deraadt Exp $ */
+/* $OpenBSD: mapper.c,v 1.26 2021/06/26 15:42:58 deraadt Exp $ */
/* $NetBSD: mapper.c,v 1.3 1995/12/10 11:12:04 mycroft Exp $ */
/* Mapper for connections between MRouteD multicast routers.
fprintf(stderr,
"usage: %s [-fgn] [-d level] [-r count] [-t seconds] "
"[starting_router]\n\n", __progname);
- fprintf(stderr, "\t-f Flood the routing graph with queries\n");
- fprintf(stderr, "\t (True by default unless `router' is given)\n");
- fprintf(stderr, "\t-g Generate output in GraphEd format\n");
- fprintf(stderr, "\t-n Don't look up DNS names for routers\n");
exit(1);
}