ORMOLU(1)

πŸ“¦
version 0.7.7.0 Β· 3 versions
, in fedora 44

πŸ’– ORMOLU πŸ’–

okay bestie, so this is the manual page for ormolu β€” it's a User Commands situation, section 1 of the manual, and it's literally about ormolu version 0.7.7.0. it's a Haskell source formatter and it's giving main character energy, no cap. let's get into it 🫢


✨ NAME ✨

ormolu β€” manual page for ormolu 0.7.7.0 πŸ’…


🌸 SYNOPSIS 🌸

ormolu [-v|--version] [--manual-exts] [-i | (-m|--mode MODE)]

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, here's the rest of the synopsis, it's a long one, stay with me:

       [-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]

that's it that's the whole vibe. now the options, which are the actual ✨content✨.

πŸŽ€ Available options:

  • -h, --help β€” Show this help text πŸ™ like literally the thing you're reading rn
  • -v, --version β€” Print version of the program πŸ‘‘ gotta know what you're working with
  • --manual-exts β€” Display extensions that need to be enabled manually πŸ‘€
  • -i β€” A shortcut for --mode inplace ⚑ it's the glow-up button, it rewrites your file right there
  • -m, --mode MODE β€” Mode of operation: 'stdout' (the default), 'inplace', or 'check' πŸ“ so stdout is the default bestie, inplace edits the file, check just... checks
  • -o, --ghc-opt OPT β€” GHC options to enable (e.g. language extensions) 🧚
  • -f, --fixity FIXITY β€” Fixity declaration to use (an override) πŸ’… an override, so it wins
  • -r, --reexport REEXPORT β€” Module re-export that Ormolu should know about 🌈
  • -p, --package PACKAGE β€” Explicitly specified dependency (for operator fixity/precedence only) πŸ’œ note the parenthetical, it's only for operator fixity/precedence, don't get it twisted
  • -u, --unsafe β€” Do formatting faster but without automatic detection of defects πŸ’€ yeah so it's faster but it stops checking for defects, choose wisely
  • -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) 🌸 yes auto is the default, it just figures it out
  • --start-line START β€” Start line of the region to format (starts from 1) ⭐ note that it starts from 1, not 0, we are not doing zero-indexing today
  • --end-line END β€” End line of the region to format (inclusive) 🫢 inclusive!! so it includes that line
  • --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 πŸ’– v specific, v useful
  • -t, --source-type TYPE β€” Set the type of source; TYPE can be 'module', 'sig', or 'auto' (the default) ✨ again, auto is the default, she's flexible like that
  • FILE β€” Haskell source files to format or stdin (the default) πŸ‘‘ so you can pass files, or just pipe it in from stdin, which is the default

using ghc-lib-parser 9.10.3.20250912 🧚✨ lowkey iconic


and that's the whole page bestie, we ate, no crumbs left. this was ormolu version 0.7.7.0, manual page date February 2026, and yeah it's the ORMOLU(1) page, section 1, user commands, that's the source and the version and the date all wrapped up in a cute little bow πŸŽ€πŸ’– slay, periodt.

πŸ“¦ where this page comes from