Rename the --percentage option to --plan

The old --percentage is still supported, but not documented anymore.
This commit is contained in:
Andrea Mazzoleni 2015-11-10 19:37:23 +01:00
parent 1917814d2d
commit 40265401d3
8 changed files with 56 additions and 55 deletions

View file

@ -18,7 +18,7 @@ snapraid [\-c, \-\-conf CONFIG]
.PD 0
.PP
.PD
[\-p, \-\-percentage PERC|bad|new|full]
[\-p, \-\-plan PERC|bad|new|full]
.PD 0
.PP
.PD
@ -309,7 +309,7 @@ the hash computed in the \[dq]sync\[dq] command.
.PP
Every run of the command checks the 12.5% of the array, but not data
already scrubbed in the previous 10 days.
You can use the \-p, \-\-percentage option to specify a different amount,
You can use the \-p, \-\-plan option to specify a different amount,
and the \-o, \-\-older\-than option to specify a different age in days.
For example, to check 5% of the array older than 20 days use:
.PP
@ -779,7 +779,7 @@ nothing that was already scrubbed in the last 10 days.
This means that scrubbing once a week, every bit of data is checked
at least one time every two months.
.PP
You can define a different scrub plan or amount using the \-p, \-\-percentage
You can define a different scrub plan or amount using the \-p, \-\-plan
option that takes as argument:
bad \- Scrub blocks marked bad.
new \- Scrub just synced blocks not yet scrubbed.
@ -978,7 +978,7 @@ It processes only the blocks marked with silent or input/output
errors during \[dq]sync\[dq] and \[dq]scrub\[dq], and listed in \[dq]status\[dq].
This option can be used only with \[dq]check\[dq] and \[dq]fix\[dq].
.TP
.B \-p, \-\-percentage PERC|bad|new|full
.B \-p, \-\-plan PERC|bad|new|full
Selects the scrub plan. If PERC is a numeric value from 0 to 100,
it\'s interpreted as the percentage of blocks to scrub.
Instead of a percentage, you can also specify a plan: