From: Zheng Liu Date: Mon, 9 Dec 2013 02:01:09 +0000 (-0500) Subject: debugfs: update usage message for open and filefrag X-Git-Tag: v1.42.9~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5093775ab446d375ea753218c364be31cf82f3cc;p=thirdparty%2Fe2fsprogs.git 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 Signed-off-by: "Theodore Ts'o" --- diff --git a/debugfs/debugfs.c b/debugfs/debugfs.c index 1fc76a064..902ee664d 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 7f28bc0bd..0adea4058 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; }