We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6142ca0 commit 4db3ab4Copy full SHA for 4db3ab4
2 files changed
CHANGELOG.md
@@ -1,3 +1,9 @@
1
+# 0.6.0
2
+
3
+* Make it obey --platform option
4
+* Add -u as an alias for --update
5
6
7
# 0.5.1
8
9
* Proper options handling
app/Main.hs
@@ -39,7 +39,7 @@ programOptions :: Parser TldrOpts
39
programOptions = (TldrOpts <$> (updateIndexCommand <|> viewPageCommand))
40
41
updateIndexCommand :: Parser TldrCommand
42
-updateIndexCommand = flag UpdateIndex UpdateIndex (long "update" <> short 'u')
+updateIndexCommand = flag' UpdateIndex (long "update" <> short 'u')
43
44
viewOptionsParser :: Parser ViewOptions
45
viewOptionsParser = ViewOptions <$> platformFlag
0 commit comments