-
- (void)fprintf(stderr, "usage: dump [-0123456789cnu] [-B records] [-b blocksize] [-d density] [-f file]\n [-h level] [-s feet] [-T date] filesystem\n");
- (void)fprintf(stderr, " dump [-W | -w]\n");
- exit(1);
+ char white[MAXPATHLEN];
+ int i;
+
+ strncpy(white, __progname, MAXPATHLEN-1);
+ white[MAXPATHLEN-1] = '\0';
+ for (i=0; i<MAXPATHLEN; ++i)
+ if (white[i] != '\0') white[i] = ' ';
+
+ fprintf(stderr,
+ "%s %s\n", __progname, _DUMP_VERSION);
+ fprintf(stderr,
+ "usage:\t%s [-0123456789ac"
+#ifdef KERBEROS
+ "k"
+#endif
+ "MnSu] [-B records] [-b blocksize] [-d density]\n"
+ "\t%s [-e inode#] [-f file] [-h level] [-s feet] [-T date] filesystem\n"
+ "\t%s [-W | -w]\n", __progname, white, __progname);
+ exit(X_STARTUP);