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>
debian-1.42.9
Zheng Liu 2013-12-08 21:01:09 -05:00 committed by Theodore Ts'o
parent a9b23fc99d
commit 5093775ab4
2 changed files with 3 additions and 2 deletions

View 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

View 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;
}