From 029d418483abbcbcd3c92d0473e330a749dbc218 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 19 Jul 2016 05:22:29 +0300 Subject: mutual_friends.py: interface update --- docs/mutual_friends.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') 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, -- cgit v1.2.3