]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
slightly better error message
authorDavid Stainton <dstainton415@gmail.com>
Wed, 15 Jul 2015 19:32:53 +0000 (12:32 -0700)
committerDaira Hopwood <daira@jacaranda.org>
Mon, 20 Jul 2015 23:48:10 +0000 (00:48 +0100)
src/allmydata/scripts/magic_folder_cli.py

index 2b2aca38e60f4b204cc5ace3eca5af07810b58d2..08c47767101336d875e54d8070d1482a28da44f7 100644 (file)
@@ -21,7 +21,7 @@ class CreateOptions(BasedirOptions):
         self.nickname = nickname
         self.localdir = localdir
         if self.nickname and not self.localdir:
-            raise usage.UsageError("must provide both")
+            raise usage.UsageError("If NICKNAME is specified then LOCALDIR must also be specified.")
         node_url_file = os.path.join(self['node-directory'], "node.url")
         self['node-url'] = open(node_url_file, "r").read().strip()