mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
More explicative --help option.
This commit is contained in:
parent
628fd0e683
commit
9597b32f1a
4 changed files with 10 additions and 4 deletions
|
|
@ -18,7 +18,7 @@ snapraid [\(hyc, \(hy\(hyconf CONFIG] [\(hyf, \(hy\(hyfilter PATTERN]
|
|||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
COMMAND
|
||||
sync|diff|check|fix
|
||||
.PD 0
|
||||
.PP
|
||||
.PD
|
||||
|
|
|
|||
|
|
@ -44,7 +44,13 @@ void usage(void)
|
|||
{
|
||||
version();
|
||||
|
||||
printf("Usage: " PACKAGE " [options]\n");
|
||||
printf("Usage: " PACKAGE " sync|diff|check|fix [options]\n");
|
||||
printf("\n");
|
||||
printf("Commands:\n");
|
||||
printf(" sync Syncronize the state of the array of disks\n");
|
||||
printf(" diff Show the changes that needs to be syncronized\n");
|
||||
printf(" check Check the array of disks\n");
|
||||
printf(" fix Fix the array of disks\n");
|
||||
printf("\n");
|
||||
printf("Options:\n");
|
||||
printf(" " SWITCH_GETOPT_LONG("-c, --conf FILE ", "-c") " Configuration file (default " CONF ")\n");
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ Synopsis
|
|||
: [-Z, --force-zero] [-E, --force-empty]
|
||||
: [-s, --start BLKSTART] [-t, --count BLKCOUNT]
|
||||
: [-v, --verbose]
|
||||
: COMMAND
|
||||
: sync|diff|check|fix
|
||||
|
||||
:snapraid [-V, --version] [-h, --help]
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ snapraid [-c, --conf CONFIG] [-f, --filter PATTERN]
|
|||
[-Z, --force-zero] [-E, --force-empty]
|
||||
[-s, --start BLKSTART] [-t, --count BLKCOUNT]
|
||||
[-v, --verbose]
|
||||
COMMAND
|
||||
sync|diff|check|fix
|
||||
|
||||
snapraid [-V, --version] [-h, --help]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue