mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
More explicative --help option.
This commit is contained in:
parent
628fd0e683
commit
9597b32f1a
4 changed files with 10 additions and 4 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue