ChangeLog, unix.c:
unix.c (usage): Add minimalist emergency help to the usage message.
diff --git a/e2fsck/ChangeLog b/e2fsck/ChangeLog
index c25e478..8f5b861 100644
--- a/e2fsck/ChangeLog
+++ b/e2fsck/ChangeLog
@@ -1,3 +1,8 @@
+1999-07-19 <tytso@valinux.com>
+
+ * unix.c (usage): Add minimalist emergency help to the usage
+ message.
+
1999-07-18 <tytso@valinux.com>
* unix.c: Add support for calculating a progress bar if the -C0
diff --git a/e2fsck/unix.c b/e2fsck/unix.c
index e33a814..ba1aa6b 100644
--- a/e2fsck/unix.c
+++ b/e2fsck/unix.c
@@ -63,6 +63,20 @@
"\t\t[-I inode_buffer_blocks] [-P process_inode_size]\n"
"\t\t[-l|-L bad_blocks_file] [-C fd] device\n",
ctx->program_name);
+
+ fprintf(stderr, "\nEmergency help:\n"
+ " -p Automatic repair (no questions)\n"
+ " -n Make no changes to the filesystem\n"
+ " -y Assume \"yes\" to all questions\n"
+ " -c Check for bad blocks\n"
+ " -f Force checking even if filesystem is marked clean\n"
+ " -v Be verbose\n"
+ " -b superblock Use alternative superblock\n"
+ " -B blocksize Force blocksize when looking for superblock\n"
+ " -l bad_blocks_file Add to badblocks list\n"
+ " -L bad_blocks_file Set badblocks list\n"
+ );
+
exit(FSCK_USAGE);
}