Opened 10 years ago
Closed 5 years ago
#11075 closed bug (fixed)
[checkfs] add examples to checkfs help / default output
Reported by: | jstressman | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta2 |
Component: | Applications/Command Line Tools | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
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.
Attachments (2)
Change History (6)
by , 10 years ago
Attachment: | checkfs.diff added |
---|
comment:1 by , 10 years ago
Actually I'm going to make an additional change (tab aligning the option descriptions) and then submit a proper patch following the guidelines as per https://dev.haiku-os.org/wiki/SubmittingPatches
by , 10 years ago
Attachment: | 0001-Add-examples-to-checkfs-help-output.patch added |
---|
proper git patch for checkfs changes to add examples to help output.
comment:2 by , 10 years ago
patch: | 0 → 1 |
---|
comment:3 by , 10 years ago
Component: | - General → Applications/Command Line Tools |
---|---|
patch: | 1 → 0 |
comment:4 by , 5 years ago
Milestone: | R1 → R1/beta2 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Applied in hrev54147, thanks and sorry for the large delay...
patch to add 2 examples to the help output for checkfs