refh 0.1.0 → 0.1.1
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
- refh.cabal +2/−1
- src/Main.hs +1/−2
refh.cabal view
@@ -2,7 +2,7 @@ -- see http://haskell.org/cabal/users-guide/ name: refh-version: 0.1.0+version: 0.1.1 synopsis: A command-line tool for pasting to https://www.refheap.com -- description: homepage: https://github.com/Raynes/refh@@ -18,6 +18,7 @@ executable refh main-is: Main.hs hs-source-dirs: src+ ghc-options: -O2 -static -- other-modules: build-depends: base >=4.5 && < 4.7, haskheap ==0.1.2, clippard ==0.1.1, cmdargs ==0.10, filepath ==1.3.0.0, directory ==1.1.0.2, network ==2.3.1.0
src/Main.hs view
@@ -37,8 +37,7 @@ , copy = True &= help "True by default. If true, copy resulting link to clipboard." , language = def &= help "Must be exactly as the language name appears on refheap's dropdown." , anon = False &= help "Paste anonymously regardless of username and token settings."- , file = def &= help "Paste from this file instead of stdin. If "- ++ "extension is present, use it to determine language."+ , file = def &= help "Paste from this file instead of stdin. If extension is present, use it to determine language." , private = False &= help "False by default. If true, make paste private." } &= summary "refh v0.1.0" cfg <- config