Skip to content

Commit 01c8b29

Browse files
committed
Use pattern instead of the (non-existing) match keyword in add-directory-with-filename-pattern README example
Fixes ipfs-shipyard#113
1 parent 60444ff commit 01c8b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Pass in API options:
7878
Add a directory and match against a filename pattern:
7979

8080
```py
81-
>>> http_client.add('photos', match='*.jpg')
81+
>>> http_client.add('photos', pattern='*.jpg')
8282
[{'Hash': 'QmcqBstfu5AWpXUqbucwimmWdJbu89qqYmE3WXVktvaXhX',
8383
'Name': 'photos/photo1.jpg'},
8484
{'Hash': 'QmSbmgg7kYwkSNzGLvWELnw1KthvTAMszN5TNg3XQ799Fu',

0 commit comments

Comments
 (0)