From d93226b3ad30e65a607a0ee47acd32de844d312c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Aug 2017 19:13:57 +0200 Subject: Allow synchronising with 0 files --- trivmix.cabal | 2 +- trivmix.nix | 2 +- trivmix/Trivmix.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/trivmix.cabal b/trivmix.cabal index 6ce861a..1aebf91 100644 --- a/trivmix.cabal +++ b/trivmix.cabal @@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: trivmix -version: 2.7.3 +version: 2.7.4 -- synopsis: -- description: license: PublicDomain diff --git a/trivmix.nix b/trivmix.nix index 734fb36..c8149cf 100644 --- a/trivmix.nix +++ b/trivmix.nix @@ -4,7 +4,7 @@ }: mkDerivation { pname = "trivmix"; - version = "2.7.3"; + version = "2.7.4"; src = ./.; isLibrary = true; isExecutable = true; diff --git a/trivmix/Trivmix.hs b/trivmix/Trivmix.hs index fdd94b4..50caa1b 100644 --- a/trivmix/Trivmix.hs +++ b/trivmix/Trivmix.hs @@ -77,7 +77,7 @@ optionParser = Options <> help "Execute a file once setup of jacks is done (use this to autoconnect)\nThe executable gets passed the input port (including client name) as its first argument and the output as its second." ) ) - <*> some (strArgument ( metavar "FILE..." + <*> many (strArgument ( metavar "FILE..." <> help "Files that contain levels to assume and synchronize\nFor deterministic behaviour use flock(2).\nThe format used in these files is either a signed float, using ‘.’ as a decimal point or a signed float postfixed with ‘dB’.\nCaveat: ‘-InfinitydB’ exists and works as expected (i.e.: it is equal to ‘0.0’)" ) ) -- cgit v1.2.3