aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZheng Liu <wenqing.lz@taobao.com>2013-12-08 21:01:09 -0500
committerTheodore Ts'o <tytso@mit.edu>2013-12-08 21:06:40 -0500
commit5093775ab446d375ea753218c364be31cf82f3cc (patch)
tree6ed9b9de11929034cdd5fd6711338127e139f068
parenta9b23fc99da8c8918cb5fb8dcd1732edb70ad382 (diff)
downloadandroid_external_e2fsprogs-5093775ab446d375ea753218c364be31cf82f3cc.tar.gz
android_external_e2fsprogs-5093775ab446d375ea753218c364be31cf82f3cc.tar.bz2
android_external_e2fsprogs-5093775ab446d375ea753218c364be31cf82f3cc.zip
debugfs: update usage message for open and filefrag
The ussage message for the open and filefrag commands were missing options; this commit fixes this. Signed-off-by: Zheng Liu <wenqing.lz@taobao.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r--debugfs/debugfs.c3
-rw-r--r--debugfs/filefrag.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c
index 1fc76a06..902ee664 100644
--- a/debugfs/debugfs.c
+++ b/debugfs/debugfs.c
@@ -201,7 +201,8 @@ void do_open_filesys(int argc, char **argv)
return;
print_usage:
- fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] [-c] "
+ fprintf(stderr, "%s: Usage: open [-s superblock] [-b blocksize] "
+ "[-d image_filename] [-c] [-i] [-f] [-e] [-D] "
#ifndef READ_ONLY
"[-w] "
#endif
diff --git a/debugfs/filefrag.c b/debugfs/filefrag.c
index 7f28bc0b..0adea405 100644
--- a/debugfs/filefrag.c
+++ b/debugfs/filefrag.c
@@ -289,7 +289,7 @@ void do_filefrag(int argc, char *argv[])
if (argc > optind+1) {
print_usage:
- com_err(0, 0, "Usage: filefrag [-dv] file");
+ com_err(0, 0, "Usage: filefrag [-dvr] file");
return;
}