("repair", None, "Automatically repair any problems found."),
("add-lease", None, "Add/renew lease on all shares."),
]
- def parseArgs(self, where=''):
- self.where = argv_to_unicode(where)
+ def parseArgs(self, *locations):
+ self.locations = map(argv_to_unicode, locations)
def getSynopsis(self):
return "Usage: %s [global-opts] check [options] [ALIAS:PATH]" % (self.command_name,)
("add-lease", None, "Add/renew lease on all shares."),
("verbose", "v", "Be noisy about what is happening."),
]
- def parseArgs(self, where=''):
- self.where = argv_to_unicode(where)
+ def parseArgs(self, *locations):
+ self.locations = map(argv_to_unicode, locations)
def getSynopsis(self):
return "Usage: %s [global-opts] deep-check [options] [ALIAS:PATH]" % (self.command_name,)