From 5093775ab446d375ea753218c364be31cf82f3cc Mon Sep 17 00:00:00 2001 From: Zheng Liu Date: Sun, 8 Dec 2013 21:01:09 -0500 Subject: [PATCH] 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" --- debugfs/debugfs.c | 3 ++- debugfs/filefrag.c | 2 +- 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; } -- 2.11.0