packages feed

pandoc-cli 0.1.1 → 0.1.1.1

raw patch · 2 files changed

+3/−4 lines, 2 files

Files

pandoc-cli.cabal view
@@ -1,6 +1,6 @@ cabal-version:   2.4 name:            pandoc-cli-version:         0.1.1+version:         0.1.1.1 build-type:      Simple license:         GPL-2.0-or-later license-file:    COPYING.md
src/pandoc.hs view
@@ -18,7 +18,6 @@ import Text.Pandoc.App ( convertWithOpts, defaultOpts, options                        , parseOptionsFromArgs, handleOptInfo ) import Text.Pandoc.Error (handleError)-import qualified Text.Pandoc.UTF8 as UTF8 import System.Exit (exitSuccess) import Data.Monoid (Any(..)) import Control.Monad (when)@@ -48,7 +47,7 @@ main :: IO () main = E.handle (handleError . Left) $ do   prg <- getProgName-  rawArgs <- map UTF8.decodeArg <$> getArgs+  rawArgs <- getArgs   let hasVersion = getAny $ foldMap          (\s -> Any (s == "-v" || s == "--version"))          (takeWhile (/= "--") rawArgs)@@ -70,7 +69,7 @@  copyrightMessage :: String copyrightMessage =- "Copyright (C) 2006-2023 John MacFarlane. Web:  https://pandoc.org\n"+ "Copyright (C) 2006-2023 John MacFarlane. Web: https://pandoc.org\n"  ++  "This is free software; see the source for copying conditions. There is no\n"  ++