Add examples to checkfs help output.

Fixes #11075
This commit is contained in:
Justin Stressman 2014-07-27 12:08:47 +00:00 committed by Adrien Destugues
parent 1826e60db5
commit 905284b397

View File

@ -23,9 +23,13 @@ usage(FILE* output)
"Usage: %s <options> <device|volume name>\n"
"\n"
"Options:\n"
" -h, --help - print this help text\n"
" -c, --check-only - do not make any changes to the file system\n",
kProgramName);
" -h, --help\t\t- print this help text\n"
" -c, --check-only\t- do not make any changes to the file system\n"
"\n"
"Examples:\n"
" %s -c /Haiku\n"
" %s /dev/disk/ata/0/master/raw\n",
kProgramName, kProgramName, kProgramName);
}