aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/vk/mutuals.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-03-03 10:17:28 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2023-03-03 10:17:28 +0100
commit0835d1b7811c38f8e4f48ae3772d26fccd70c217 (patch)
tree4e054105ceb6735a6d99f737fa9a4e0ef44ac2dc /vk/mutuals.py
parentworkflows/ci: unpin runner image (diff)
downloadvk-scripts-0835d1b7811c38f8e4f48ae3772d26fccd70c217.tar.gz
vk-scripts-0835d1b7811c38f8e4f48ae3772d26fccd70c217.zip
add runtime version informationv1.0.3
Diffstat (limited to '')
-rw-r--r--vk/mutuals.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/vk/mutuals.py b/vk/mutuals.py
index 644baf8..10dcc2e 100644
--- a/vk/mutuals.py
+++ b/vk/mutuals.py
@@ -12,6 +12,7 @@ import sys
from vk.api import API
from vk.user import UserField
from vk.utils import io
+import vk.version
_OUTPUT_USER_FIELDS = UserField.UID, UserField.FIRST_NAME, UserField.LAST_NAME
@@ -84,6 +85,8 @@ def _parse_args(args=None):
parser = argparse.ArgumentParser(
description='Learn who your ex and her new boyfriend are both friends with.')
+ vk.version.add_to_arg_parser(parser)
+
parser.add_argument('uids', metavar='UID', nargs='+',
help='user IDs or "screen names"')
parser.add_argument('-f', '--format', dest='out_fmt',