mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
CLI: fix examples in tahoe put --help
This commit is contained in:
parent
8d7fe2adb3
commit
1427db1c88
@ -112,10 +112,10 @@ class PutOptions(VDriveOptions):
|
||||
]
|
||||
|
||||
def parseArgs(self, arg1=None, arg2=None):
|
||||
# cat FILE > tahoe put # create unlinked file from stdin
|
||||
# cat FILE > tahoe put - # same
|
||||
# cat FILE | tahoe put # create unlinked file from stdin
|
||||
# cat FILE | tahoe put - # same
|
||||
# tahoe put bar # create unlinked file from local 'bar'
|
||||
# cat FILE > tahoe put - FOO # create tahoe:FOO from stdin
|
||||
# cat FILE | tahoe put - FOO # create tahoe:FOO from stdin
|
||||
# tahoe put bar FOO # copy local 'bar' to tahoe:FOO
|
||||
# tahoe put bar tahoe:FOO # same
|
||||
|
||||
@ -144,10 +144,10 @@ class PutOptions(VDriveOptions):
|
||||
t = VDriveOptions.getUsage(self, width)
|
||||
t += """
|
||||
Examples:
|
||||
% cat FILE > tahoe put # create unlinked file from stdin
|
||||
% cat FILE > tahoe - # same
|
||||
% cat FILE | tahoe put # create unlinked file from stdin
|
||||
% cat FILE | tahoe - # same
|
||||
% tahoe put bar # create unlinked file from local 'bar'
|
||||
% cat FILE > tahoe put - FOO # create tahoe:FOO from stdin
|
||||
% cat FILE | tahoe put - FOO # create tahoe:FOO from stdin
|
||||
% tahoe put bar FOO # copy local 'bar' to tahoe:FOO
|
||||
% tahoe put bar tahoe:FOO # same
|
||||
% tahoe put bar MUTABLE-FILE-WRITECAP # modify the mutable file in-place
|
||||
|
Loading…
x
Reference in New Issue
Block a user