mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-03-05 21:51:45 +00:00
correctly interpret --storage-dir as an option
This commit is contained in:
parent
a04c2b64ef
commit
f3f667d761
@ -234,13 +234,15 @@ class CreateClientOptions(_CreateBaseOptions):
|
||||
class CreateNodeOptions(CreateClientOptions):
|
||||
optFlags = [
|
||||
("no-storage", None, "Do not offer storage service to other nodes."),
|
||||
("storage-dir", None, "Path where the storage will be placed."),
|
||||
("helper", None, "Enable helper"),
|
||||
] + TOR_FLAGS + I2P_FLAGS
|
||||
|
||||
synopsis = "[options] [NODEDIR]"
|
||||
description = "Create a full Tahoe-LAFS node (client+server)."
|
||||
optParameters = CreateClientOptions.optParameters + WHERE_OPTS + TOR_OPTS + I2P_OPTS
|
||||
|
||||
optParameters = [
|
||||
("storage-dir", None, None, "Path where the storage will be placed."),
|
||||
] + CreateClientOptions.optParameters + WHERE_OPTS + TOR_OPTS + I2P_OPTS
|
||||
|
||||
def parseArgs(self, basedir=None):
|
||||
CreateClientOptions.parseArgs(self, basedir)
|
||||
|
Loading…
x
Reference in New Issue
Block a user