Monotone-Parent: 00072658b3ee1a9305a65aea8e14ca879c40baa0

Monotone-Revision: b69d1a243bbadf0a35b5d09c6693d77e06ee796b

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-08-13T19:48:03
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-08-13 19:48:03 +00:00
parent cd909615f6
commit c1932c3747
2 changed files with 10 additions and 1 deletions

View File

@ -40,6 +40,11 @@
#import "NSDictionary+SOGoTool.h"
#import "SOGoToolBackup.h"
/* TODO:
- respond to "--help backup"
- allow more than one user specifier on the command-line
*/
@implementation SOGoToolBackup
+ (NSString *) command
@ -149,7 +154,7 @@
BOOL rc;
NSString *identifier;
if ([arguments count] == 2)
if ([arguments count] > 1)
{
ASSIGN (directory, [arguments objectAtIndex: 0]);
identifier = [arguments objectAtIndex: 1];

View File

@ -31,6 +31,10 @@
#import "SOGoTool.h"
/* TODO:
- help for modules
- have a help syntax/mechanism similar to the one in monotone */
@interface SOGoToolDispatcher : NSObject
{
NSMutableDictionary *tools;