From 1427db1c880ab4df34deadba24c8794cc2cafe91 Mon Sep 17 00:00:00 2001
From: Brian Warner <warner@allmydata.com>
Date: Tue, 27 Jan 2009 15:39:09 -0700
Subject: [PATCH] CLI: fix examples in tahoe put --help

---
 src/allmydata/scripts/cli.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/allmydata/scripts/cli.py b/src/allmydata/scripts/cli.py
index 7ad2e5ea..d81f9ee8 100644
--- a/src/allmydata/scripts/cli.py
+++ b/src/allmydata/scripts/cli.py
@@ -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
-- 
2.45.2