CLI: remove the '-r' shortcut for --dir-cap, to make it available for cp -r

This commit is contained in:
Brian Warner 2008-05-21 17:55:32 -07:00
parent 457248f023
commit 0f8f213baf
2 changed files with 2 additions and 2 deletions

View File

@ -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."]
]

View File

@ -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")