aboutsummaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/old_e2fsprogs/e2fsck.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/e2fsprogs/old_e2fsprogs/e2fsck.c b/e2fsprogs/old_e2fsprogs/e2fsck.c
index d73665988..1f990b303 100644
--- a/e2fsprogs/old_e2fsprogs/e2fsck.c
+++ b/e2fsprogs/old_e2fsprogs/e2fsck.c
@@ -29,6 +29,28 @@
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
+/*
+//usage:#define e2fsck_trivial_usage
+//usage: "[-panyrcdfvstDFSV] [-b superblock] [-B blocksize] "
+//usage: "[-I inode_buffer_blocks] [-P process_inode_size] "
+//usage: "[-l|-L bad_blocks_file] [-C fd] [-j external_journal] "
+//usage: "[-E extended-options] device"
+//usage:#define e2fsck_full_usage "\n\n"
+//usage: "Check ext2/ext3 file system\n"
+//usage: "\nOptions:"
+//usage: "\n -p Automatic repair (no questions)"
+//usage: "\n -n Make no changes to the filesystem"
+//usage: "\n -y Assume 'yes' to all questions"
+//usage: "\n -c Check for bad blocks and add them to the badblock list"
+//usage: "\n -f Force checking even if filesystem is marked clean"
+//usage: "\n -v Verbose"
+//usage: "\n -b superblock Use alternative superblock"
+//usage: "\n -B blocksize Force blocksize when looking for superblock"
+//usage: "\n -j journal Set location of the external journal"
+//usage: "\n -l file Add to badblocks list"
+//usage: "\n -L file Set badblocks list"
+*/
+
#include "e2fsck.h" /*Put all of our defines here to clean things up*/
#define _(x) x