diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-19 05:22:29 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-07-19 05:22:29 +0300 |
commit | 029d418483abbcbcd3c92d0473e330a749dbc218 (patch) | |
tree | ac1f79f0bf64a051b47fc889d0eb530fa8fac86e /docs | |
parent | README update (diff) | |
download | vk-scripts-029d418483abbcbcd3c92d0473e330a749dbc218.tar.gz vk-scripts-029d418483abbcbcd3c92d0473e330a749dbc218.zip |
mutual_friends.py: interface update
Diffstat (limited to 'docs')
-rw-r--r-- | docs/mutual_friends.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/mutual_friends.md b/docs/mutual_friends.md index 10c1218..39ee76f 100644 --- a/docs/mutual_friends.md +++ b/docs/mutual_friends.md @@ -9,8 +9,7 @@ Usage Run from the top-level directory using `python -m`: > python -m bin.mutual_friends -h - usage: mutual_friends.py [-h] [--output-format {csv,json}] [-o PATH] - UID [UID ...] + usage: mutual_friends.py [-h] [-f {csv,json}] [-o PATH] UID [UID ...] ... For example (using made up user IDs/"screen names"), @@ -25,7 +24,7 @@ Smith" and "Jane Smith", whose user IDs are 89497105 and 3698577 respectively. The output format is CSV (comma-separated values) by default. You can also get a JSON document: - > python -m bin.mutual_friends --output-format json john.doe jane.doe + > python -m bin.mutual_friends --format json john.doe jane.doe [ { "uid": 89497105, |