Don't think about "tahoe start"

This commit is contained in:
Jean-Paul Calderone 2020-12-08 18:21:26 -05:00
parent 7dda680cb2
commit a34fca8e7a

View File

@ -37,7 +37,7 @@ class BaseOptions(usage.Options):
super(BaseOptions, self).__init__()
self.command_name = os.path.basename(sys.argv[0])
# Only allow "tahoe --version", not e.g. "tahoe start --version"
# Only allow "tahoe --version", not e.g. "tahoe <cmd> --version"
def opt_version(self):
raise usage.UsageError("--version not allowed on subcommands")