summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergeyMironov <>2017-06-28 16:05:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2017-06-28 16:05:00 (GMT)
commita3a0c90d79eef7fa63915f8e1691ee09f9d50bf6 (patch)
treec66704ed102772691a504cf9474ba5cc3eee8c18
parent33b556fabf38edd87c992e896ed44980c4d1d437 (diff)
version 1.8.11.8.1
-rw-r--r--README.md8
-rw-r--r--VKHS.cabal2
-rw-r--r--app/vkq/Main.hs2
3 files changed, 6 insertions, 6 deletions
diff --git a/README.md b/README.md
index daa53ee..4ea8859 100644
--- a/README.md
+++ b/README.md
@@ -23,8 +23,8 @@ Features
Installing
==========
-Installing from Cabal
----------------------
+Installing from Hackage
+-----------------------
In order to install VKHS, one typically should do the following
@@ -86,7 +86,7 @@ we have to set it up
$ export VKQ_ACCESS_TOKEN=d785932b871f096bd73aac6a35d7a7c469dd788d796463a871e5beb5c61bc6c96788ec2
-VKQ may save the access tokein into state file:
+VKQ may cache the access tokein into a state file:
$ vkq login --access-token-file=.access-token
@@ -106,7 +106,7 @@ vkq allows user to call arbitrary API method. The format is as follows:
For example, lets call ausio.search method to get some Beatles records:
- $ vkq call audio.search q=Beatles --pretty
+ $ vkq call group.search q=Beatles --pretty
{ "response": [
614751,
diff --git a/VKHS.cabal b/VKHS.cabal
index 169f5ad..e04c94b 100644
--- a/VKHS.cabal
+++ b/VKHS.cabal
@@ -1,6 +1,6 @@
name: VKHS
-version: 1.8
+version: 1.8.1
synopsis: Provides access to Vkontakte social network via public API
description:
Provides access to Vkontakte API methods. Library requires no interaction
diff --git a/app/vkq/Main.hs b/app/vkq/Main.hs
index 3af6d15..a0fd539 100644
--- a/app/vkq/Main.hs
+++ b/app/vkq/Main.hs
@@ -98,7 +98,7 @@ opts m =
<*> switch (long "pretty" <> help "Pretty print resulting JSON")))
( progDesc "Call VK API method" ))
- in subparser (
+ in hsubparser (
command "login" (info (Login <$> genericOptions_login <*> (LoginOptions
<$> flag False True (long "eval" <> help "Print in shell-friendly format")
))