ormolu - Man Page
manual page for ormolu 0.7.2.0
Synopsis
ormolu [-v|--version] [--manual-exts] [-i | (-m|--mode MODE)]
Description
[-o|--ghc-opt OPT] [-f|--fixity FIXITY] [-r|--reexport REEXPORT] [-p|--package PACKAGE] [-u|--unsafe] [-d|--debug] [-c|--check-idempotence] [--color WHEN] [--start-line START] [--end-line END] [--no-cabal] [--no-dot-ormolu] [--stdin-input-file ARG] [-t|--source-type TYPE] [FILE]
Available options
- -h,--help
Show this help text
- -v,--version
Print version of the program
- --manual-exts
Display extensions that need to be enabled manually
- -i
A shortcut for --mode inplace
- -m,--mode MODE
Mode of operation: 'stdout' (the default), 'inplace', or 'check'
- -o,--ghc-opt OPT
GHC options to enable (e.g. language extensions)
- -f,--fixity FIXITY
Fixity declaration to use (an override)
- -r,--reexport REEXPORT
Module re-export that Ormolu should know about
- -p,--package PACKAGE
Explicitly specified dependency (for operator fixity/precedence only)
- -u,--unsafe
Do formatting faster but without automatic detection of defects
- -d,--debug
Output information useful for debugging
- -c,--check-idempotence
Fail if formatting is not idempotent
- --color WHEN
Colorize the output; WHEN can be 'never', 'always', or 'auto' (the default)
- --start-line START
Start line of the region to format (starts from 1)
- --end-line END
End line of the region to format (inclusive)
- --no-cabal
Do not extract default-extensions and dependencies from .cabal files
- --no-dot-ormolu
Do not look for .ormolu files
- --stdin-input-file ARG
Path which will be used to find the .cabal file when using input from stdin
- -t,--source-type TYPE
Set the type of source; TYPE can be 'module', 'sig', or 'auto' (the default)
- FILE
Haskell source files to format or stdin (the default)
using ghc-lib-parser 9.6.6.20240701