mirror of https://github.com/vitalif/e2fsprogs
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
parent
a9b23fc99d
commit
5093775ab4
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue