diff --git a/README.md b/README.md index dcc99f9eee550901a994ab0ee3ae7453a2b2059f..ccd31964a2f26b548bc22fe1f7a9b0dc05d478d8 100644 --- a/README.md +++ b/README.md @@ -37,15 +37,15 @@ optional arguments: ### Send the content of files ``` -python3 json2couch.py -d xxx '*.json' +python3 json2couchdb.py -d xxx '*.json' ``` ### Read content from standard input ``` -cat foo.json | python3 json2couch.py -d xxx - +cat foo.json | python3 json2couchdb.py -d xxx - -curl -s http://myhost:5984/xxx/mydocument | python3 json2couch.py -H myhost -d yyy - +curl -s http://myhost:5984/xxx/mydocument | python3 json2couchdb.py -H myhost -d yyy - ``` Note: When reading from standard input, the JSON structure must contain an `_id` entry.