summaryrefslogtreecommitdiff
path: root/adjmix/Adjmix.hs
diff options
context:
space:
mode:
Diffstat (limited to 'adjmix/Adjmix.hs')
-rw-r--r--adjmix/Adjmix.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/adjmix/Adjmix.hs b/adjmix/Adjmix.hs
index 94416ac..0545395 100644
--- a/adjmix/Adjmix.hs
+++ b/adjmix/Adjmix.hs
@@ -52,6 +52,23 @@ optionParser = Options
52 <> help "Subtract from the current level" 52 <> help "Subtract from the current level"
53 ) 53 )
54 ) 54 )
55 <|> ( ($) <$> ( flag' Add ( long "inc"
56 <> short 'i'
57 <> help "Increase level by a preset amount (see ‘--by’)"
58 )
59 <|> flag' Sub ( long "dec"
60 <> short 'd'
61 <> help "Decrease level by a preset amount (see ‘--by’)"
62 )
63 )
64 <*> ( option auto ( long "by"
65 <> metavar "LEVEL"
66 <> value (read "5dB")
67 <> showDefault
68 <> help "Value to decrease/increase level by when using ‘--inc’ or ‘--dec’"
69 )
70 )
71 )
55 ) 72 )
56 73
57main :: IO () 74main :: IO ()