From: Brian Warner Date: Thu, 22 May 2008 00:55:32 +0000 (-0700) Subject: CLI: remove the '-r' shortcut for --dir-cap, to make it available for cp -r X-Git-Tag: allmydata-tahoe-1.1.0~83 X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/%22file:/statistics?a=commitdiff_plain;h=0f8f213baffceb9770ba1dc64a2d80f1a12e6e17;p=tahoe-lafs%2Ftahoe-lafs.git CLI: remove the '-r' shortcut for --dir-cap, to make it available for cp -r --- diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py index de25abd4..03014fc3 100644 --- a/src/allmydata/scripts/cli.py +++ b/src/allmydata/scripts/cli.py @@ -17,7 +17,7 @@ class VDriveOptions(BaseOptions, usage.Options): ["node-url", "u", None, "URL of the tahoe node to use, a URL like \"http://127.0.0.1:8123\". " "This overrides the URL found in the --node-directory ."], - ["dir-cap", "r", None, + ["dir-cap", None, None, "Which dirnode URI should be used as the 'tahoe' alias."] ] diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 7365f8c5..deb07c82 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -1800,7 +1800,7 @@ class SystemTest(testutil.SignalMixin, testutil.PollMixin, testutil.StallMixin, open(os.path.join(sdn2, "rfile5"), "wb").write("rfile5") # from disk into tahoe - d.addCallback(run, "cp", "--recursive", dn, "tahoe:dir1") + d.addCallback(run, "cp", "-r", dn, "tahoe:dir1") d.addCallback(run, "ls") d.addCallback(_check_ls, ["dir1"]) d.addCallback(run, "ls", "dir1")