Skip to content

Commit 8283421

Browse files
committed
Use mconcat
1 parent ab9a25d commit 8283421

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

cardano-wasm/app/Main.hs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ parser :: Parser CmdArgs
1313
parser =
1414
CmdArgs
1515
<$> strOption
16-
( long "output-dir"
17-
<> short 'o'
18-
<> metavar "OUTPUT_DIR"
19-
<> help "Output directory for the TypeScript declaration files (it must exist)"
16+
( mconcat
17+
[ long "output-dir"
18+
, short 'o'
19+
, metavar "OUTPUT_DIR"
20+
, help "Output directory for the TypeScript declaration files (it must exist)"
21+
]
2022
)
2123

2224
main :: IO ()

0 commit comments

Comments
 (0)