[checkfs] add examples to checkfs help / default output
|Reported by:||jstressman||Owned by:||nobody|
|Component:||Applications/Command Line Tools||Version:||R1/Development|
|Has a Patch:||no||Platform:||All|
I found myself wishing checkfs had some examples in the help/default output to give me an idea exactly what it wanted for the given parameters, so I wrote a little patch to give 2 examples. One for each of the 2 ways you can specify which device or volume you wish to check.
These are based on the code from hrev47509
The original output looks like this;
Usage: checkfs <options> <device|volume name> Options: -h, --help - print this help text -c, --check-only - do not make any changes to the file system
I added 2 examples below that to show what we're looking for...
Usage: checkfs <options> <device|volume name> Options: -h, --help - print this help text -c, --check-only - do not make any changes to the file system Examples: checkfs -c /Haiku checkfs /dev/disk/ata/0/master/raw
I'm attaching the patch.