packages feed

VKHS 0.5.2 → 0.5.3

raw patch · 3 files changed

+13/−13 lines, 3 filesdep ~bimapdep ~failuredep ~optparse-applicative

Dependency ranges changed: bimap, failure, optparse-applicative, parsec, safe, split, tagsoup, tagsoup-parsec, transformers, utf8-string

Files

VKHS.cabal view
@@ -1,6 +1,6 @@  name:                VKHS-version:             0.5.2+version:             0.5.3 synopsis:            Provides access to Vkontakte social network via public API description:     Provides access to Vkontakte API methods. Library requires no interaction@@ -70,18 +70,18 @@                      containers,                      mtl,                      bytestring,-                     tagsoup-parsec ==0.0.*,-                     tagsoup ==0.12.*,-                     failure ==0.2.*,+                     tagsoup-parsec,+                     tagsoup,+                     failure,                      curlhs,-                     safe ==0.3.*,-                     parsec ==3.1.*,-                     split ==0.2.*,-                     utf8-string ==0.3.*,-                     bimap ==0.2.*,+                     safe,+                     parsec,+                     split,+                     utf8-string,+                     bimap,                      template-haskell,-                     transformers ==0.3.*,-                     optparse-applicative,+                     transformers,+                     optparse-applicative ==0.11.*,                      aeson,                      filepath,                      directory,
src/VKNews.hs view
@@ -70,7 +70,7 @@   <$> flag Normal Debug (long "verbose" <> help "Be verbose")   <*> strOption (long "application-id" <> short 'a' <> value vkhs_app_id <> help (printf "Application ID (can be set via %s)" env_var_name))   <*> strOption (long "access-token" <> short 't' <> value at <> help "Access token")-  <*> option (long "poll-interval" <> short 'i' <> value 20 <> help "Poll interval [sec]")+  <*> option auto (long "poll-interval" <> short 'i' <> value 20 <> help "Poll interval [sec]")   <*> argument str (metavar "USERNAME" <> help "User name")   <*> strOption (metavar "STR" <> long "password" <> short 'p' <> value "-" <> help "Password")   -- <*> argument str (metavar "GROUPID" <> help "Vkontakte ID of the group to read the news from")
src/VKQ.hs view
@@ -114,7 +114,7 @@         <> help "FileName format, supported tags: %i %o %a %t %d %u"         )       <*> strOption (metavar "DIR" <> short 'o' <> help "Output directory" <> value "")-      <*> arguments str (metavar "RECORD_ID" <> help "Download records")+      <*> some (argument str (metavar "RECORD_ID" <> help "Download records"))       <*> flag False True (long "skip-existing" <> help "Don't download existing files")       ))       ( progDesc "List or download music files"))