| 47 | | fprintf (stderr, "Usage: %s\n", name); |
| 48 | | fprintf (stderr, "--listgroups\tLists all groups\n"); |
| 49 | | fprintf (stderr, "--listplugins\tLists all plugins\n"); |
| 50 | | fprintf (stderr, "--listobjects\tLists all objtypes that the engine understands\n"); |
| 51 | | fprintf (stderr, "--showformats <objtype>\tLists all formats that a objtype can have\n"); |
| 52 | | fprintf (stderr, "--showgroup <groupname>\tLists all members of the group\n"); |
| 53 | | fprintf (stderr, "--sync <groupname>\tSync all members in a group\n"); |
| 54 | | fprintf (stderr, "--filter-objtype <objtype>\tFilter object type\n"); |
| 55 | | fprintf (stderr, "--slow-sync <objtype>\tPerform a slow-sync of all members in the group\n"); |
| 56 | | fprintf (stderr, "[--wait] \tDont immediatly start to sync, but wait for a client to initialize the sync\n"); |
| 57 | | fprintf (stderr, "[--multi] \tRepeat to wait for sync alerts\n"); |
| 58 | | fprintf (stderr, "--addgroup <groupname>\tAdd a new group\n"); |
| 59 | | fprintf (stderr, "--delgroup <groupname>\tDelete the given group\n"); |
| | 47 | fprintf (stderr, "Usage: %s [options]\n\n", name); |
| | 48 | fprintf (stderr, "--listgroups\t\t\t\tLists all groups\n"); |
| | 49 | fprintf (stderr, "--listplugins\t\t\t\tLists all plugins\n"); |
| | 50 | fprintf (stderr, "--listobjects\t\t\t\tLists all object types that the\n"); |
| | 51 | fprintf (stderr, "\t\t\t\t\t engine understands\n"); |
| | 52 | fprintf (stderr, "--showformats <objtype>\t\t\tLists all formats that a object\n"); |
| | 53 | fprintf (stderr, "\t\t\t\t\t type can have\n"); |
| | 54 | fprintf (stderr, "--showgroup <groupname>\t\t\tLists all members of the group\n"); |
| | 55 | fprintf (stderr, "--sync <groupname>\t\t\tSync all members in a group\n"); |
| | 56 | fprintf (stderr, "--filter-objtype <objtype>\t\tFilter out object type\n"); |
| | 57 | fprintf (stderr, "--slow-sync <objtype>\t\t\tPerform a slow-sync of all members\n"); |
| | 58 | fprintf (stderr, "\t\t\t\t\t in the group\n"); |
| | 59 | fprintf (stderr, "[--wait]\t\t\t\tDon't immediately start to sync, but\n"); |
| | 60 | fprintf (stderr, "\t\t\t\t\t wait for a client to initialize the\n"); |
| | 61 | fprintf (stderr, "\t\t\t\t\t sync\n"); |
| | 62 | fprintf (stderr, "[--multi]\t\t\t\tRepeat to wait for sync alerts\n"); |
| | 63 | fprintf (stderr, "--addgroup <groupname>\t\t\tAdd a new group\n"); |
| | 64 | fprintf (stderr, "--delgroup <groupname>\t\t\tDelete the given group\n"); |
| 61 | | fprintf (stderr, "--configure <groupname> <memberid> \tConfigure a member. memberid as returned by --showgroup\n"); |
| 62 | | fprintf (stderr, "[--manual] \tMake manual engine iterations. Only for debugging\n"); |
| 63 | | fprintf (stderr, "[--configdir] \tSet a different configdir than ~/.opensync\n"); |
| 64 | | fprintf (stderr, "[--conflict 1-9/d/i/n] \tResolve all conflicts as side [1-9] wins, [d]uplicate, [i]gnore, or keep [n]ewer\n"); |
| | 66 | fprintf (stderr, "--configure <groupname> <memberid>\tConfigure a member. Memberid as\n"); |
| | 67 | fprintf (stderr, "\t\t\t\t\t returned by --showgroup\n"); |
| | 68 | fprintf (stderr, "[--manual]\t\t\t\tMake manual engine iterations. Only\n"); |
| | 69 | fprintf (stderr, "\t\t\t\t\tfor debugging.\n"); |
| | 70 | fprintf (stderr, "[--configdir]\t\t\t\tUse a different configdir than\n"); |
| | 71 | fprintf (stderr, "\t\t\t\t\t ~/.opensync\n"); |
| | 72 | fprintf (stderr, "[--conflict 1-9/d/i/n]\t\t\tResolve all conflicts as side [1-9]\n"); |
| | 73 | fprintf (stderr, "\t\t\t\t\twins, [d]uplicate, [i]gnore, or\n"); |
| | 74 | fprintf (stderr, "\t\t\t\t\t keep [n]ewer\n"); |