summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-12-03 10:26:57 -0700
committerJasper Van der Jeugt <m@jaspervdj.be>2019-12-03 18:26:57 +0100
commitb9e70a32e65f31a3ff435535cf3fa476f41751f2 (patch)
treee11e0c622ca7a686a54bf10b83f7a9563ddb7554
parent975752b2c82b3c6e0cc5a26729062eb2291286f2 (diff)
downloadstylish-haskell-b9e70a32e65f31a3ff435535cf3fa476f41751f2.tar.gz
Add Debian's manpage for stylish-haskell to this repo
Closes: #250
-rw-r--r--LICENSE1
-rw-r--r--doc/stylish-haskell.1.adoc54
2 files changed, 55 insertions, 0 deletions
diff --git a/LICENSE b/LICENSE
index 1a37f45..386d3b9 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,5 @@
Copyright (c) 2012, Jasper Van der Jeugt <m@jaspervdj.be>
+Copyright (c) 2016, 2018 Sean Whitton <spwhitton@spwhitton.name>
All rights reserved.
diff --git a/doc/stylish-haskell.1.adoc b/doc/stylish-haskell.1.adoc
new file mode 100644
index 0000000..65c2b6c
--- /dev/null
+++ b/doc/stylish-haskell.1.adoc
@@ -0,0 +1,54 @@
+= stylish-haskell(1)
+
+== NAME
+
+stylish-haskell - simple Haskell code prettifier
+
+== SYNOPSIS
+
+*stylish-haskell* [_-c_|_--config=FILE_] [_-v|--verbose_]
+[_-i_|_--inplace_] [--no-utf8] [_FILES_]...
+
+*stylish-haskell* _-d_|_--defaults_
+
+*stylish-haskell* _-?_|_--help_
+
+*stylish-haskell* _--version_
+
+== DESCRIPTION
+
+*stylish-haskell* performs automatic formatting on the Haskell code in
+the files passed on the command line or piped via STDIN. It outputs to
+STDOUT unless *-i* is specified.
+
+STDIN is assumed to be encoded UTF-8, unless the *--no-utf8* option is
+used.
+
+=== OPTIONS
+
+*-c*, *--config=FILE*::
+ Override the default configuration file.
+
+*-v*, *--verbose*::
+ Turn on verbose output.
+
+*-i*, *--inplace*::
+ Prettify and overwrite the given files in place.
+
+*-d*, *--defaults*::
+ Dump default config and exit.
+
+*-?*, *--help*::
+ Output help text and exit.
+
+*--version*::
+ Output version information and exit.
+
+*--no-utf8*::
+ Don't assume that STDIN is encoded UTF-8, and don't force UTF-8 output.
+
+== AUTHOR
+
+This manual page was originally written by Sean Whitton
+<\spwhitton@spwhitton.name> for the Debian GNU/Linux system (but may be
+used by others).