]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
debugfs: update usage message for open and filefrag
authorZheng Liu <wenqing.lz@taobao.com>
Mon, 9 Dec 2013 02:01:09 +0000 (21:01 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 9 Dec 2013 02:06:40 +0000 (21:06 -0500)
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>
debugfs/debugfs.c
debugfs/filefrag.c

index 1fc76a064b96784f4b3f041510ef17b4a32c97fd..902ee664d70767c7dc70458f8705680d6f05cd39 100644 (file)
@@ -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
index 7f28bc0bd4fb5e8a0131c006eb4150ce0f3d7501..0adea40582cf044f73905f8942d6e8adbf164c08 100644 (file)
@@ -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;
        }