path: root/e2fsprogs
diff options
authorGravatar Pere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerGravatar Denys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /e2fsprogs
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'e2fsprogs')
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